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 10:39:31 GMT
jefft       2003/05/05 03:39:31

  Modified:    .        status.xml
               src/resources/schema catalog
               src/resources/schema/dtd faq-v12.dtd
               src/resources/stylesheets faq2document.xsl
  Log:
  Change contents of the <answer> element from %block; to %flow;, so plain text
  is allowed.
  
  Revision  Changes    Path
  1.153     +4 -0      xml-forrest/status.xml
  
  Index: status.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/status.xml,v
  retrieving revision 1.152
  retrieving revision 1.153
  diff -u -r1.152 -r1.153
  --- status.xml	28 Apr 2003 13:25:37 -0000	1.152
  +++ status.xml	5 May 2003 10:39:30 -0000	1.153
  @@ -24,6 +24,10 @@
   
     <changes>
       <release version="0.5-dev" date="unreleased">
  +      <action dev="JT" type="update" context="schemas">
  +        Allow plain text (instead of just block-level elements) in the FAQ's
  +        &lt;answer> element.
  +      </action>
         <action dev="JT" type="add" context="core">
           Added a <code>forrest.maxmemory</code> property specifying the maximum
           amount of memory allocated to the JVM. Useful for rendering large PDFs.
  
  
  
  1.17      +2 -0      xml-forrest/src/resources/schema/catalog
  
  Index: catalog
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/schema/catalog,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- catalog	24 Apr 2003 21:06:20 -0000	1.16
  +++ catalog	5 May 2003 10:39:31 -0000	1.17
  @@ -55,6 +55,8 @@
          "dtd/document-v11.mod"
   PUBLIC "-//APACHE//ENTITIES FAQ V1.1//EN"
          "dtd/faq-v11.mod"
  +PUBLIC "-//APACHE//ENTITIES FAQ V1.2//EN"
  +       "dtd/faq-v12.mod"
   PUBLIC "-//APACHE//ENTITIES Todo V1.1//EN"
          "dtd/todo-v11.mod"
   PUBLIC "-//APACHE//ENTITIES Common Elements V1.0//EN"
  
  
  
  1.2       +1 -1      xml-forrest/src/resources/schema/dtd/faq-v12.dtd
  
  Index: faq-v12.dtd
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/schema/dtd/faq-v12.dtd,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- faq-v12.dtd	24 Apr 2003 09:10:33 -0000	1.1
  +++ faq-v12.dtd	5 May 2003 10:39:31 -0000	1.2
  @@ -73,7 +73,7 @@
   
   <!ENTITY % faq PUBLIC
       "-//APACHE//ENTITIES FAQ V1.1//EN"
  -    "faq-v11.mod">
  +    "faq-v12.mod">
   %faq;
   
   <!-- =============================================================== -->
  
  
  
  1.10      +8 -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.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- faq2document.xsl	27 Jan 2003 06:42:49 -0000	1.9
  +++ faq2document.xsl	5 May 2003 10:39:31 -0000	1.10
  @@ -106,7 +106,14 @@
     </xsl:template>
   
     <xsl:template match="answer">
  -    <xsl:apply-templates/>
  +    <xsl:if test="count(p)>0"> 
  +      <xsl:apply-templates/>
  +    </xsl:if>
  +    <xsl:if test="count(p)=0"> 
  +      <p>
  +        <xsl:apply-templates/>
  +      </p>
  +    </xsl:if>
     </xsl:template>
   
     <xsl:template match="title">
  
  
  

Mime
View raw message