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 Mon, 05 May 2003 11:46:43 GMT
jefft       2003/05/05 04:46:43

  Modified:    .        status.xml
               src/resources/schema/dtd faq-v12.mod
               src/resources/stylesheets faq2document.xsl
  Log:
  Add <elaboration> element to <question>.  The content of <elaboration>
is
  displayed in the FAQ body, but not in the FAQ question list.
  
  Revision  Changes    Path
  1.154     +5 -0      xml-forrest/status.xml
  
  Index: status.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/status.xml,v
  retrieving revision 1.153
  retrieving revision 1.154
  diff -u -r1.153 -r1.154
  --- status.xml	5 May 2003 10:39:30 -0000	1.153
  +++ status.xml	5 May 2003 11:46:43 -0000	1.154
  @@ -25,6 +25,11 @@
     <changes>
       <release version="0.5-dev" date="unreleased">
         <action dev="JT" type="update" context="schemas">
  +        Add &lt;elaborate> to the FAQ &lt;question> element, which lets one
  +        provide some background (elaboration) in the FAQ body without cluttering
  +        the FAQ list.
  +      </action>
  +      <action dev="JT" type="update" context="schemas">
           Allow plain text (instead of just block-level elements) in the FAQ's
           &lt;answer> element.
         </action>
  
  
  
  1.2       +4 -1      xml-forrest/src/resources/schema/dtd/faq-v12.mod
  
  Index: faq-v12.mod
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/schema/dtd/faq-v12.mod,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- faq-v12.mod	5 May 2003 10:40:25 -0000	1.1
  +++ faq-v12.mod	5 May 2003 11:46:43 -0000	1.2
  @@ -51,8 +51,11 @@
       <!ELEMENT faq (question, answer)>
       <!ATTLIST faq %common.att;>
   
  -        <!ELEMENT question (%content.mix;)*>
  +        <!ELEMENT question (%content.mix;|elaboration)*>
           <!ATTLIST question %common.att;>
  +
  +        <!ELEMENT elaboration (%content.mix;)*>
  +        <!ATTLIST elaboration %common.att;>
   
           <!ELEMENT answer (%flow;)*>
           <!ATTLIST answer author IDREF #IMPLIED>
  
  
  
  1.11      +5 -1      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.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- faq2document.xsl	5 May 2003 10:39:31 -0000	1.10
  +++ faq2document.xsl	5 May 2003 11:46:43 -0000	1.11
  @@ -58,7 +58,7 @@
   		  little benefit (JT)
   	    <xsl:number level="multiple" count="faq|part" format="1.1. "/>
   		-->
  -        <xsl:apply-templates select="question"/>
  +        <xsl:apply-templates select="question" mode="index"/>
         </link>
       </li>
     </xsl:template>
  @@ -99,6 +99,10 @@
           <xsl:value-of select="concat(concat(local-name(.), '-'), generate-id(.))"/>
         </xsl:otherwise>
     </xsl:choose>
  +  </xsl:template>
  +
  +  <xsl:template match="question" mode="index">
  +    <xsl:apply-templates select="node()[not(local-name()='elaboration')]"/>
     </xsl:template>
   
     <xsl:template match="question">
  
  
  

Mime
View raw message