This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Identity stylesheet
- From: Adriano Rodrigues Ferreira <ferreira at triang dot com dot br>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 19 Dec 2001 10:47:38 -0200
- Subject: [xsl] Identity stylesheet
- Organization: (Home User)
- Reply-to: xsl-list at lists dot mulberrytech dot com
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