vmassol     2003/01/28 07:22:54

  Modified:    documentation/docs/skins/jakarta.apache.org/stylesheets
                        common.xsl document2html.xsl
  Log:
  oops. Forgot to commit this from previous refactoring... (namely the change from 
@source to @target and the fact that target points to the output file)
  
  Revision  Changes    Path
  1.4       +2 -2      
jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/common.xsl
  
  Index: common.xsl
  ===================================================================
  RCS file: 
/home/cvs/jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/common.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- common.xsl        28 Jan 2003 14:58:22 -0000      1.3
  +++ common.xsl        28 Jan 2003 15:22:54 -0000      1.4
  @@ -57,7 +57,7 @@
           (<xsl:value-of select="$sitemap"/>)
         </xsl:message>
       </xsl:if>
  -    <xsl:value-of select="$sitemap//resource[@id=$id]/@source"/>
  +    <xsl:value-of select="$sitemap//resource[@id=$id]/@target"/>
     </xsl:template>
   
     <xsl:template name="get-source">
  
  
  
  1.24      +10 -7     
jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  RCS file: 
/home/cvs/jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/document2html.xsl,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- document2html.xsl 28 Jan 2003 14:58:22 -0000      1.23
  +++ document2html.xsl 28 Jan 2003 15:22:54 -0000      1.24
  @@ -169,10 +169,15 @@
                     <xsl:value-of select="$project.other.version"/>
                   </a>
                 </font>
  +
  +              <!-- ======================================================== -->
  +              <!-- Menu -->
  +              <!-- ======================================================== -->
                 <br/>
                 <font face="arial,helvetica,sanserif">
                   <xsl:call-template name="apply-navigation"/>
                 </font>
  +
               </td>
   
               <!-- ========================================================== -->
  @@ -242,13 +247,12 @@
             <xsl:apply-templates/>
           </div>
         </xsl:when>
  -      <xsl:when test="$cursite/@source">
  +      <xsl:when test="$cursite/@target">
           <div id="menu">
             <a>
               <xsl:attribute name="href">
                 <xsl:call-template name="get-base-directory"/>
  -              <xsl:value-of 
select="substring($cursite/@source,0,string-length($cursite/@source)-3)"/>
  -              <xsl:text>.html</xsl:text>
  +              <xsl:value-of select="$cursite/@target"/>
               </xsl:attribute>
               <font size="-{$level}">
                 <!-- Use the label from the sitemap if none has been defined
  @@ -302,13 +306,12 @@
     </xsl:template>
   
     <xsl:template match="sitemap/resource">
  -    <xsl:if test="@source">
  +    <xsl:if test="@target">
         <li id="sitemap">
           <!-- link -->
           <a>
             <xsl:attribute name="href">
  -            <xsl:value-of select="substring(@source,0,string-length(@source)-3)"/>
  -            <xsl:text>.html</xsl:text>
  +            <xsl:value-of select="@target"/>
             </xsl:attribute>
             <xsl:choose>
               <xsl:when test="@name">
  
  
  

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

Reply via email to