summaryrefslogtreecommitdiff
path: root/xsl/merge.xsl
blob: 15b34879200b79aca73330ff9e16857797cd653a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<xsl:stylesheet version="1.0" 
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template match="/">
		<patterns>
			<xsl:attribute name="count">
				<xsl:value-of select="count(/index/file)"/>
			</xsl:attribute>
			<xsl:for-each select="/index/file">
				<xsl:copy-of select="document(.)"/>
			</xsl:for-each>
		</patterns>
	</xsl:template>
</xsl:stylesheet>