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

Subject: Re: [xsl] Copying children elements and their contents to the output
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Thu, 1 Feb 2001 04:10:11 -0800 (PST)
Jo Bourne wrote:

> 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.

Hi Jo,

To copy all sub-trees started by the children elements of the current
node use:

<xsl:copy-of select="*"/>

Cheers,
Dimitre Novatchev.

__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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


Current Thread