Copying child elements to converted document as is?

A

Andre-John Mas

Hi,

I have an XML document, where the children of one of the nodes is
HTML. How do I go about copying the children nodes into the resultant
document, without modifying them?

Andre
 
P

Peter Flynn

Andre-John Mas said:
Hi,

I have an XML document, where the children of one of the nodes is
HTML. How do I go about copying the children nodes into the resultant
document, without modifying them?

If you're using XSLT, xsl:copy-of does this.

///Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,008
Messages
2,570,269
Members
46,871
Latest member
Stephendes

Latest Threads

Top