>1. Is there way to get the rest of XML document in a simple way. I should have mentioned that, of course, another option would be to write an XPath that matches all nodes except the ContactInfo or nodes descended from a ContactInfo. But since that would just return a list of node rather than the "filtered" document you showed as your desired output, I presumed that wasn't what you had in mind.
Or, of course, one could write a stylesheet to generate a new document that included everything except the ContactInfo and its descendents. ______________________________________ Joe Kesselman / IBM Research
