stephan     2003/05/12 06:19:27

  Modified:    src/webapp/samples/common/style/xsl/html
                        complex-page2html.xsl
  Log:
  Add template for <para> elements.
  
  Revision  Changes    Path
  1.2       +7 -1      
cocoon-2.1/src/webapp/samples/common/style/xsl/html/complex-page2html.xsl
  
  Index: complex-page2html.xsl
  ===================================================================
  RCS file: 
/home/cvs/cocoon-2.1/src/webapp/samples/common/style/xsl/html/complex-page2html.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- complex-page2html.xsl     7 May 2003 16:50:39 -0000       1.1
  +++ complex-page2html.xsl     12 May 2003 13:19:27 -0000      1.2
  @@ -150,6 +150,12 @@
     </table>
    </xsl:template> -->
   
  +  <xsl:template match="para">
  +   <p>
  +     <xsl:apply-templates/>
  +   </p>
  +  </xsl:template>
  +
    <xsl:template match="*|@*|node()|text()" priority="-1">
     <xsl:copy><xsl:apply-templates select="*|@*|node()|text()"/></xsl:copy>
    </xsl:template>
  
  
  

Reply via email to