Joseph,

Thanks for the quick response. 

> If you really need a new Document containing the results of 
> an XPath, the
> easiest way to do that is probably to build a stylesheet 
> which uses that
> XPath as a selection pattern and outputs copies of the nodes 
> it has found.
> If you want to do it manually: Construct a new DOM document, use its
> importNode operation to obtain copies of each of the nodes 
> found by the
> XPath, and insert these copies into appropriate places in the 
> new document.
> 

You mentions the manually case.  Is there an automatically generating DOM
document using
stylesheet as you described?

Reply via email to