Hello,
Being a curious fella I looked inside html files generated by "ant
docs". There is a lot of xmlns:NetUtils attributes. They seem to be
leftovers from 5 months back. NetUtils was used to evaluate encLabel
variable. Its value is not used anymore. Below is a patch which gets
rid of all references to NetUtils in the stylesheets and as a result
the xmlns:NetUtils attributes.
Thanks
Greg
--- src/documentation/stylesheets/site2xhtml.xsl~ Mon Jul 15 01:55:53 2002
+++ src/documentation/stylesheets/site2xhtml.xsl Tue Aug 20 18:17:22 2002
@@ -2,7 +2,6 @@
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:NetUtils="org.apache.cocoon.util.NetUtils"
version="1.0">
<xsl:param name="header"/>
--- src/documentation/stylesheets/book2menu.xsl~ Mon Jul 15 01:55:53 2002
+++ src/documentation/stylesheets/book2menu.xsl Tue Aug 20 18:19:28 2002
@@ -1,7 +1,6 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-
xmlns:NetUtils="http://xml.apache.org/xslt/java/org.apache.cocoon.util.NetUtils"
version="1.0">
<xsl:param name="resource"/>
@@ -21,7 +20,6 @@
<xsl:template match="menu">
<!-- Encode label to escape any reserved characters such as space -->
- <xsl:variable name="encLabel" select="NetUtils:encodePath(@label)"/>
<tr>
<td valign="top" bgcolor="#959595" background="images/label-background_b.gif">
<img src="images/separator.gif" height="6" width="120"/><br/>
@@ -33,7 +31,6 @@
<xsl:template match="menu-item">
<xsl:if test="not(@type) or @type!='hidden'">
- <xsl:variable name="encLabel" select="NetUtils:encodePath(@label)"/>
<tr>
<td bgcolor="#959595" valign="top">
<xsl:attribute name="background">images/label-background_a.gif</xsl:attribute>
@@ -52,7 +49,6 @@
<xsl:template match="external">
<xsl:if test="not(@type) or @type!='hidden'">
- <xsl:variable name="encLabel" select="NetUtils:encodePath(@label)"/>
<tr><td bgcolor="#959595" background="images/label-background_a.gif"
valign="top">
<a href="{@href}" target="new" class="menu"><xsl:value-of
select="@label"/></a>
</td>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]