crossley 2002/09/02 22:28:43
Modified: src/documentation/stylesheets Tag: cocoon_2_0_3_branch
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
No revision
No revision
1.3.2.4 +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.3.2.3
retrieving revision 1.3.2.4
diff -u -r1.3.2.3 -r1.3.2.4
--- book2menu.xsl 4 Jul 2002 02:36:02 -0000 1.3.2.3
+++ book2menu.xsl 3 Sep 2002 05:28:42 -0000 1.3.2.4
@@ -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.11.2.2 +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.11.2.1
retrieving revision 1.11.2.2
diff -u -r1.11.2.1 -r1.11.2.2
--- site2xhtml.xsl 17 Jun 2002 22:11:20 -0000 1.11.2.1
+++ site2xhtml.xsl 3 Sep 2002 05:28:42 -0000 1.11.2.2
@@ -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]