jfclere     2002/08/29 08:52:07

  Modified:    jk/xdocs style.xsl.in
  Log:
  Use the @name instead generate-id().
  That way it is possible to add a href to a session in the xml.
  
  Revision  Changes    Path
  1.5       +3 -3      jakarta-tomcat-connectors/jk/xdocs/style.xsl.in
  
  Index: style.xsl.in
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/style.xsl.in,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- style.xsl.in      29 Aug 2002 11:04:34 -0000      1.4
  +++ style.xsl.in      29 Aug 2002 15:52:07 -0000      1.5
  @@ -172,7 +172,7 @@
                         <tr>
                           <td bgcolor="#cccccc" width="10"/>
                           <td bgcolor="#cccccc" width="140">
  -                          <a class="menu" href="#section_{generate-id(.)}">
  +                          <a class="menu" href="#{@name}">
                               <xsl:value-of select="@name"/>
                             </a>
                           </td>
  @@ -231,7 +231,7 @@
     </xsl:template>
   
     <xsl:template match="section">
  -    <a name="section_{generate-id(.)}">
  +    <a name="{@name}">
         <table border="0" cellspacing="0" cellpadding="0" width="100%">
           <tr>
             <td bgcolor="{$banner-bg}" class="section" valign="top" align="left">
  @@ -249,7 +249,7 @@
     </xsl:template>
   
     <xsl:template match="subsection">
  -    <a name="subsection_{generate-id(.)}">
  +    <a name="sub_{@name}">
         <table border="0" cellspacing="0" cellpadding="0" width="100%">
           <tr>
             <td bgcolor="{$sub-banner-bg}" class="subsection" valign="top" 
align="left">
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to