samuelll 0 Newbie Poster

Just started with XLS and I have this code, which I think suppose to copy every node to the output file. But I am really not sure...

<!-- Copies everything? But it doesn't?? --> 
<!-- Matches any element node -->
<xsl:template match="*">
	<xsl:copy>
	  <!-- Matches any attribute node -->
		<xsl:for-each select="@*">
			<xsl:copy/>
		</xsl:for-each>
		<xsl:apply-templates/>
	</xsl:copy>
</xsl:template>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.