[xsl] Identity stylesheet

Subject: [xsl] Identity stylesheet
From: Adriano Rodrigues Ferreira <ferreira@xxxxxxxxxxxxx>
Date: Wed, 19 Dec 2001 10:47:38 -0200
How do I create an identity stylesheet: that is,
one that just let anything pass on the original
XML file pass through to the output XML file.

It would be something like this?

<?xml version="1.0"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">

<xsl:template match="*|@*|text()">
	<xsl:copy>
		<xsl:apply-templates select="*|@*|text()"/>
	</xsl:copy>
</xsl:template>

</xsl:stylesheet>

Thanks for any advice.

Adriano Ferreira
Brazil



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread