Indrajit Bhattacharya wrote:
Hi,
I have some beginner level questions. I would be grateful for your
responses.
We store all our data as xerces DOM in our application. Is there any
problem using these xercesc::DOMNode* data with Xalan for XPath and XSLT ?
That depends on what you mean by "problem..."
Does Xalan create a separate data structure out of the xerces DOM for
doing works like XPath expression evaluation ?
Yes
How to use xercesc::DOMNode* with Xalan for evaluating XPath expressions ?
You can search the archives of this list for more information.
Are there any performance penalty with using xerces DOM with Xalan
library ? Any memory usage concerns ?
Yes. There is a fairly significant memory overhead, and a potentially high
overhead for ordering nodes within the document. How high that is depends
on the kinds of XPath expressions you use.
Dave