1 <xsl:stylesheet version="1.0"
2 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3 <xsl:template match="/">
5 <xsl:attribute name="count">
6 <xsl:value-of select="count(/index/file)"/>
8 <xsl:for-each select="/index/file">
9 <xsl:copy-of select="document(.)"/>