Hi,
I have a node like this:
<A a="a" b="b">
<B c="c"/>
<C d="d"/>
</A>
I need to write this entire node into a new xml document in the placeholder as follows:
<xml prologue>
<X>
<!-- place for the above node -->
</X>
I am using DOM as the parser. Any ideas on how this can be done.
I tried using root.importNode(), however, it appends only
<A a="a" b="b"> and misses the rest of the child nodes.
Plez help!!!