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/library/xslt faq2document.xsl
Date Mon, 27 Jan 2003 03:42:16 GMT
jefft       2003/01/26 19:42:16

  Modified:    .        status.xml
               src/resources/library/xslt faq2document.xsl
  Log:
  Bunch of FAQ improvements
  
  Revision  Changes    Path
  1.101     +20 -0     xml-forrest/status.xml
  
  Index: status.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/status.xml,v
  retrieving revision 1.100
  retrieving revision 1.101
  diff -u -r1.100 -r1.101
  --- status.xml	25 Jan 2003 11:17:12 -0000	1.100
  +++ status.xml	27 Jan 2003 03:42:16 -0000	1.101
  @@ -24,6 +24,26 @@
   
     <changes>
       <release version="0.3-dev" date="unreleased">
  +      <action dev="JT" type="fix" context="skins">
  +        Indirectly referenced files in skins (eg images in
  +        CSS<code>url()</code>'s) are now copied across to the rendered site.
  +        Previously, we relied on spidering to cover the URI space, which has
  +        proved insufficient.
  +      </action>
  +      <action dev="JT" type="update" context="skins">
  +        Lots of FAQ improvements:
  +        <ul>
  +          <li>
  +            Improved URI space by using <code>@id</code> attributes as the
  +            #fragment-identifier for &lt;faq&gt; and &lt;part&gt; elements.
  +          </li>
  +          <li>Number FAQ entries and categories</li>
  +          <li>Added back-links from FAQ entries to the menu</li>
  +          <li>Process tags in &lt;question&gt; in menu entries</li>
  +          <li>FAQ sample added to seed project</li>
  +        </ul>
  +        Thanks to Joerg Pietschmann and Ralf Hauser for the suggestions.
  +      </action>
         <action dev="NKB" type="update" context="skins" due-to="Stefan Michels"
           due-to-email="stephan@apache.org">
           On avalon-tigris skin it's now possible to add a mysite.css file
  
  
  
  1.8       +9 -4      xml-forrest/src/resources/library/xslt/faq2document.xsl
  
  Index: faq2document.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/library/xslt/faq2document.xsl,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- faq2document.xsl	27 Jan 2003 03:17:33 -0000	1.7
  +++ faq2document.xsl	27 Jan 2003 03:42:16 -0000	1.8
  @@ -53,7 +53,12 @@
           <xsl:attribute name="href">
             <xsl:text>#</xsl:text><xsl:call-template name="generate-id"/>
           </xsl:attribute>
  -        <xsl:value-of select="question"/>
  +		<!--
  +		  IMHO adding this makes the tightly-packed menu less legible for
  +		  little benefit (JT)
  +	    <xsl:number level="multiple" count="faq|part" format="1.1. "/>
  +		-->
  +        <xsl:apply-templates select="question"/>
         </link>
       </li>
     </xsl:template>
  @@ -79,10 +84,10 @@
       <section id="{$id}">
         <title>
           <xsl:number level="multiple" count="faq|part" format="1.1. "/>
  -        <xsl:value-of select="question"/>
  +        <xsl:apply-templates select="question"/>
         </title>
         <link href="#{$id}-menu">^</link>
  -      <xsl:apply-templates/>
  +      <xsl:apply-templates select="answer"/>
       </section>
     </xsl:template>
   
  @@ -98,7 +103,7 @@
     </xsl:template>
   
     <xsl:template match="question">
  -    <!-- ignored since already used -->
  +    <xsl:apply-templates/>
     </xsl:template>
   
     <xsl:template match="answer">
  
  
  

Mime
View raw message