You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by gi...@apache.org on 2003/07/29 19:55:36 UTC
cvs commit: cocoon-2.1/src/blocks/linotype/samples/stylesheets hierarchy2cinclude.xslt
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>