This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Copying children elements and their contents to the output


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]