>1. Is there way to get the rest of XML document in a simple
>   way.

Write a NodeFilter that rejects a specific node and its contents, 
initialize that filter with  the node found by the XPath query, and plug 
that filter into a DOM NodeIterator or TreeWalker.

> 2. Is xalan support XPath?

I believe Xalan now includes a prototype of the DOM's XPathEvaluator API 
as well as supporting TrAX and its own APIs. Note that since this is a 
stand-alone implementation, this XPathEvaluator is *not* obtained by 
casting the Document object; you have to instantiate it explicitly.

______________________________________
Joe Kesselman  / IBM Research

Reply via email to