craigmcc    01/06/11 20:19:07

  Modified:    doc/stylesheets struts.xsl userGuide.xsl
  Log:
  Port stylesheet fixes.
  
  Revision  Changes    Path
  1.3       +7 -2      jakarta-struts/doc/stylesheets/struts.xsl
  
  Index: struts.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/doc/stylesheets/struts.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- struts.xsl        2001/05/31 18:36:59     1.2
  +++ struts.xsl        2001/06/12 03:19:07     1.3
  @@ -1,6 +1,6 @@
   <?xml version="1.0" encoding="ISO-8859-1"?>
   <!-- Content Stylesheet for Struts Documentation -->
  -<!-- $Id: struts.xsl,v 1.2 2001/05/31 18:36:59 craigmcc Exp $ -->
  +<!-- $Id: struts.xsl,v 1.3 2001/06/12 03:19:07 craigmcc Exp $ -->
   
   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
     version="1.0">
  @@ -80,12 +80,17 @@
   
     </xsl:template>
   
  +  <!-- Process the project element for the navigation bar -->
  +  <xsl:template match="project">
  +    <xsl:apply-templates/>
  +  </xsl:template>
  +
     <!-- Process a menu for the navigation bar -->
     <xsl:template match="menu">
       <table border="0" cellspacing="5">
         <tr>
           <th colspan="2" align="left">
  -          <font color="{body-link}"><strong>
  +          <font color="{$body-link}"><strong>
               <xsl:value-of select="@name"/>
             </strong></font>
           </th>
  
  
  
  1.2       +9 -3      jakarta-struts/doc/stylesheets/userGuide.xsl
  
  Index: userGuide.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/doc/stylesheets/userGuide.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- userGuide.xsl     2001/03/18 17:48:59     1.1
  +++ userGuide.xsl     2001/06/12 03:19:07     1.2
  @@ -1,6 +1,6 @@
   <?xml version="1.0" encoding="ISO-8859-1"?>
   <!-- Content Stylesheet for Struts User's Guide -->
  -<!-- $Id: userGuide.xsl,v 1.1 2001/03/18 17:48:59 vmassol Exp $ -->
  +<!-- $Id: userGuide.xsl,v 1.2 2001/06/12 03:19:07 craigmcc Exp $ -->
   
   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
     version="1.0">
  @@ -83,6 +83,12 @@
     </xsl:template>
   
   
  +  <!-- Process the project element for the navigation bar -->
  +  <xsl:template match="project">
  +    <xsl:apply-templates/>
  +  </xsl:template>
  +
  +
     <!-- Process an entire chapter (assumes one chapter per page) -->
     <xsl:template match="chapter">
       <xsl:element name="a">
  @@ -106,7 +112,7 @@
       <table border="0" cellspacing="5">
         <tr>
           <th colspan="2" align="left">
  -          <font color="{body-link}"><strong>
  +          <font color="{$body-link}"><strong>
               <xsl:value-of select="@name"/>
             </strong></font>
           </th>
  @@ -165,4 +171,4 @@
     </xsl:template>
   
   
  -</xsl:stylesheet>
  \ No newline at end of file
  +</xsl:stylesheet>
  
  
  

Reply via email to