cziegeler    02/01/04 02:13:15

  Modified:    src/documentation/stylesheets site2xhtml.xsl
  Log:
  Hopefully fixed url encoding problems now
  
  Revision  Changes    Path
  1.2       +2 -2      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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- site2xhtml.xsl    3 Jan 2002 12:31:01 -0000       1.1
  +++ site2xhtml.xsl    4 Jan 2002 10:13:15 -0000       1.2
  @@ -2,7 +2,7 @@
   
   <xsl:stylesheet
       xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
  -    xmlns:URLEncoder="java.net.URLEncoder"
  +    xmlns:NetUtils="org.apache.cocoon.util.NetUtils"
       version="1.0">
   
        <xsl:param name="header"/>
  @@ -32,7 +32,7 @@
             </tr>
             <tr>
               <td width="100%" height="35" valign="top" align="right" colspan="2" 
bgcolor="#0086b2">
  -              <img src="{$header}?label={URLEncoder:encode(/site/document/title)}" 
hspace="0" vspace="0" border="0" alt="{/site/document/title}" align="right"/>          
 
  +              <img 
src="{$header}?label={NetUtils:encodePath(/site/document/title)}" hspace="0" 
vspace="0" border="0" alt="{/site/document/title}" align="right"/>           
               </td>
             </tr>
             <tr>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to