forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/stylesheets faq2document.xsl
Date Sun, 18 May 2003 12:11:16 GMT
jefft       2003/05/18 05:11:16

  Modified:    src/resources/stylesheets faq2document.xsl
  Log:
  - Don't generate links for faqsection titles, as they are more useful when not
    blending into link-happy blueness
  - Use <ol> instead of <ul> to avoid use of <xsl:number>
  - Add hacky <br/> to add some space between faqsections
  
  Revision  Changes    Path
  1.12      +7 -13     xml-forrest/src/resources/stylesheets/faq2document.xsl
  
  Index: faq2document.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/stylesheets/faq2document.xsl,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- faq2document.xsl	5 May 2003 11:46:43 -0000	1.11
  +++ faq2document.xsl	18 May 2003 12:11:16 -0000	1.12
  @@ -14,9 +14,9 @@
       <body>
         <section>
          <title>Questions</title>
  -       <ul>
  +       <ol>
           <xsl:apply-templates select="faq|part" mode="index"/>
  -       </ul>
  +       </ol>
         </section>
         <section>
          <title>Answers</title>
  @@ -28,19 +28,13 @@
   
     <xsl:template match="part" mode="index">
       <li>
  -	  <xsl:attribute name="id">
  -        <xsl:call-template name="generate-id"/><xsl:text>-menu</xsl:text>
  -	  </xsl:attribute>
  -      <link>
  -        <xsl:attribute name="href">
  -          <xsl:text>#</xsl:text><xsl:call-template name="generate-id"/>
  -        </xsl:attribute>
  -	  <xsl:number level="multiple" count="faq|part" format="1.1. "/>
  -       <xsl:apply-templates select="title"/>
  -      </link>
  +      <strong>
  +      <!-- Rely on <ol> numbering here -->
  +      <!--<xsl:number level="multiple" count="faq|part" format="1.1. "/> -->
  +       <xsl:apply-templates select="title"/></strong>
          <ul>
           <xsl:apply-templates select="faq|part" mode="index"/>
  -       </ul>
  +       </ul><br />
       </li>
     </xsl:template>
   
  
  
  

Mime
View raw message