xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor