This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Copying children elements and their contents to the output
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Copying children elements and their contents to the output
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Fri, 2 Feb 2001 08:54:37 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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