Sort file names using sorted()
[platform/upstream/pattern-tools.git] / xsl / merge.xsl
1 <xsl:stylesheet version="1.0" 
2         xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3         <xsl:template match="/">
4                 <patterns>
5                         <xsl:attribute name="count">
6                                 <xsl:value-of select="count(/index/file)"/>
7                         </xsl:attribute>
8                         <xsl:for-each select="/index/file">
9                                 <xsl:copy-of select="document(.)"/>
10                         </xsl:for-each>
11                 </patterns>
12         </xsl:template>
13 </xsl:stylesheet>