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


> 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


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