Dave, I looked again at the example and now I understand what you mean.
For some reason I didn't see it before. Thanks for the help, Ori. Ori Doolman wrote: > Thank you, Dave. > Yes, I probably mean markup (which is a text in the format of XML > including all '<' and '>' tags. Not the text contained only within the > text nodes). > > Is there any complete ready made function that serializes the NodeSet? > It seems like a very common problem. The example doesn't refer to all > node types and doesn't use escaping characters. I don't understand what you mean by "refer to all node types and doesn't use escaping characters." The sample will certainly serialize any node type other than the root node or an attribute node, and it will escape characters if that's necessary to generate well-formed markup. > Maybe another option is selecting a single node (only the root of the > sub-tree) and convert the sub-tree to a Xerces DOM tree. Is this > possible? It's possible, but a lot more work than just following what the sample does. Dave
<<winmail.dat>>