crossley 2002/09/02 22:28:39 Modified: src/documentation/stylesheets book2menu.xsl site2xhtml.xsl Log: Removed remnants of NetUtils:encodePath() from when we were using the images for the menu labels. Not needed now. Less clutter with the generated HTML. PR: 11949 Submitted by: [EMAIL PROTECTED] (Greg Steuck) Revision Changes Path 1.9 +0 -5 xml-cocoon2/src/documentation/stylesheets/book2menu.xsl Index: book2menu.xsl =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/stylesheets/book2menu.xsl,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- book2menu.xsl 8 Jun 2002 22:53:57 -0000 1.8 +++ book2menu.xsl 3 Sep 2002 05:28:39 -0000 1.9 @@ -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"/> @@ -20,8 +19,6 @@ </xsl:template> <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 +30,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 +48,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> 1.13 +0 -1 xml-cocoon2/src/documentation/stylesheets/site2xhtml.xsl Index: site2xhtml.xsl =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/stylesheets/site2xhtml.xsl,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- site2xhtml.xsl 17 Jun 2002 21:47:21 -0000 1.12 +++ site2xhtml.xsl 3 Sep 2002 05:28:39 -0000 1.13 @@ -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"/>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]