RE: [xsl] Copying children elements and their contents to the output

Subject: RE: [xsl] Copying children elements and their contents to the output
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 2 Feb 2001 08:54:37 -0000
> I have an xml document in which some of the elements contain 
> html (and there
> is no way of knowing in advance what that html will be, other 
> than that it
> will be xml compliant) that I want copied exactly to the 
> output document.
> 
> What do I put in my xsl stylesheet to do this? Is it some 
> application of xsl:copy?

Use <xsl:copy-of> for a deep copy (the node and all its descendants).

Mike Kay 

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


Current Thread