Hi,

Thanks David for the suggestion to join a different group.

The requirement is to read in the XML data as Xerces DOMDocument, since it
requires for other existing functionalities.

We browsed through some of the messages in this list like 
"http://www.mail-archive.com/xalan-c-users@xml.apache.org/msg02716.html";,
which I am looking at it.

Kindly suggest if there are other inputs to this.

Regards,
Anand


-----Original Message-----
From: David Bertoni [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 06, 2006 12:03 AM
To: xalan-dev@xml.apache.org; xalan-c-users@xml.apache.org
Subject: Re: Using DOM Objects for Evaluating XPath expressions in Xalan

Bharadwaj, Anand (ELS) wrote:
> 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.
> 
>    2. The manual refers "XercesDocumentBridge" interface as the
>       mechanism for this case, but this interface has been deprecated.
>       Kindly suggest alternative available interface.
> 
>    3. 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.
>

This question is really more appropriate for the Xalan-C user list. Please 
subscribe and post future questions there. I will post a reply to that 
list.  Please make sure you reply _only_ on the user list.

My first question would be to ask why you need to use the Xerces-C DOM.  It 
is possible to use such an instance within Xalan-C by wrapping it, but it 
is very inefficient.  You should only do this if you need to modify the DOM 
before or after processing it with Xalan-C.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to