cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gian...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/linotype/samples/stylesheets hierarchy2cinclude.xslt
Date Tue, 29 Jul 2003 17:55:36 GMT
gianugo     2003/07/29 10:55:36

  Added:       src/blocks/linotype/samples/stylesheets
                        hierarchy2cinclude.xslt
  Log:
  Added this missing stylesheet for the source-based version of Linotype
  
  Revision  Changes    Path
  1.1                  cocoon-2.1/src/blocks/linotype/samples/stylesheets/hierarchy2cinclude.xslt
  
  Index: hierarchy2cinclude.xslt
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet version="1.0"
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   xmlns:col="http://apache.org/cocoon/collection/1.0"
   xmlns:include="http://apache.org/cocoon/include/1.0"
  >
   
    <xsl:param name="prefix"/>
      
    <xsl:template match="/">
     <list>
      <xsl:apply-templates/>
     </list>
    </xsl:template>
  
    <xsl:template match="col:collection/col:collection[not(starts-with(@name,'template'))
and not(starts-with(@name,'CVS'))]">
      <element id="{@name}">
       <include:include src="cocoon:/{$prefix}/{@name}.xml"/>
      </element>
    </xsl:template>
  
  </xsl:stylesheet>
  
  
  

Mime
View raw message