cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ba...@locus.apache.org
Subject cvs commit: xml-cocoon/skins/xml.apache.org/stylesheets xspdoc2document.xsl
Date Fri, 15 Sep 2000 04:36:46 GMT
balld       00/09/14 21:36:45

  Added:       skins/xml.apache.org/stylesheets xspdoc2document.xsl
  Log:
  added xspdoc to document convertor
  
  Revision  Changes    Path
  1.1                  xml-cocoon/skins/xml.apache.org/stylesheets/xspdoc2document.xsl
  
  Index: xspdoc2document.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet 
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   xmlns:xspdoc="http://apache.org/cocoon/XSPDoc/v1"
   version="1.0"
  >
  
   <xsl:template match="xspdoc:desc">
    <dt><xsl:value-of select="following-sibling::xsl:template/@match"/></dt>
    <dd><xsl:apply-templates select="text()"/></dd>
   </xsl:template>
   
   <xsl:template match="/xsl:stylesheet">
    <document>
     <header>
      <title><xsl:apply-templates select="xspdoc:title"/></title>
     </header>
     <body>
      <s2 title="Template Descriptions">
       <dl>
        <xsl:apply-templates select="xspdoc:desc"/>
       </dl>
      </s2>
     </body>
    </document>
   </xsl:template>
  
   <xsl:template match="*"/>
  
  </xsl:stylesheet>
  
  
  

Mime
View raw message