Joe, Thank you, always. The problem solved early this morning. Btw, you got a nice XPathAPI in Xalan package.
Regards, Pae ----- Original Message ----- From: "Joseph Kesselman" <[EMAIL PROTECTED]> To: "Pae Choi" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 8:50 AM Subject: Re: XPath result from a DOM and the Rest of DOM > >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
