dion        02/01/27 06:30:01

  Modified:    latka/xsl/site docbook2document.xsl
  Log:
  Added example support and a comment at the top for generated by
  
  Revision  Changes    Path
  1.16      +10 -1     jakarta-commons/latka/xsl/site/docbook2document.xsl
  
  Index: docbook2document.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/xsl/site/docbook2document.xsl,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- docbook2document.xsl      24 Jan 2002 01:28:35 -0000      1.15
  +++ docbook2document.xsl      27 Jan 2002 14:30:00 -0000      1.16
  @@ -4,7 +4,7 @@
       Author:     Berin Loritsch ([EMAIL PROTECTED])
       Author:     Peter Donald  ([EMAIL PROTECTED])
       Author:     dIon Gillard ([EMAIL PROTECTED])
  -    Version:    $Id: docbook2document.xsl,v 1.15 2002/01/24 01:28:35 dion Exp $
  +    Version:    $Id: docbook2document.xsl,v 1.16 2002/01/27 14:30:00 dion Exp $
       FIXME:      Doesn't handle attributes of informaltable and other docbook 
elements
     -->
   
  @@ -12,6 +12,11 @@
       <!-- used for cross ref links (xref) -->
       <xsl:key name="id" match="*" use="@id"/>
   
  +    <xsl:template match="/">
  +        <xsl:comment>This document generated by docbook2document.xsl</xsl:comment>
  +        <xsl:apply-templates />
  +    </xsl:template>
  +    
       <!-- top level component templates -->
       <xsl:template match="book">
           <document>
  @@ -208,6 +213,10 @@
       </xsl:template>
   
       <xsl:template match="emphasis"><em><xsl:apply-templates/></em></xsl:template>
  +    
  +    <xsl:template match="example">
  +        <p><pre><xsl:apply-templates/></pre></P
  +    </xsl:template>
   
       <!-- book details --> 
       <xsl:template match="bookinfo">
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to