Hello,

 

We are trying to use Xalan library for processing XPath queries on the XML document.

 

The application will load the xml document to the DOM Tree and process each node.

It is required by the application to process inner DOMNodes relatively and apply XPath query on it.

 

In order to utilize the Xalan library for this, we did initial analysis on the mechanism to map

the DOM objects to the Xalan objects, and observed the following:

(The libraries considered for implementation are: Xerces 2.7.0 and Xalan 1.10.0)

 

  1. Through the “XercesParserLiaison” interface though it was possible to get handle to the XALANDocument from the DOMDocument, it was not possible to convert the inner DOMNodes to the XalanNodes and apply relatively constructed XPath queries appropriately.

 

  1. The manual refers “XercesDocumentBridge” interface as the mechanism for this case, but this interface has been deprecated. Kindly suggest alternative available interface.

 

  1. There are some Wrapper interfaces (for Ex. XercesDocumentWrapper). Kindly suggest if we can directly use these interfaces or it should be through an available main handler interface.

 

We look forward for the inputs in this respect.

 

Thanks and Regards,

Anand

 

 

Reply via email to