Hi!
I'm using the XMLTextReader to parse a document, for example:
<A>
<B/>
<C/>
<D>
<E/>
<F>
<G/>
</F>
</D>
</A>
Now lets say that I reach the node <G> and would like to copy its ancestors
(<A>, <D>, <F>) to a new document. The way I'm currently doing it is to use
some temporary nodes and a lot of "xmlCopyNode(node,2)" in order to get rid
of unwanted siblings. Is there a nicer way to get the ancestors of a given
node as a new document?
Thanks,
Michael
<<attachment: winmail.dat>>