Re: [xsl] unity transformation

Subject: Re: [xsl] unity transformation
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 9 Oct 2001 14:13:31 +0100
> What is a simple way to copy the entire input XML to the
> output unchanged?

cp old.xml new.xml


If you must do it in XSL then two solutions
a) use the identity transform from the XSLT specification. or
b) use <xsl:copy-of select="/"/>

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread