Hi Dave, Thanks a lot for your reply.
>>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..." Here my intension is: given a xercesc::DOMNode* pointer, we need to perform XPath expression evaluation, the expression being taken from user of the application. Do you see any issue in this use model ? Thanka again, -Indrajit On Fri, 16 Feb 2007 David Bertoni wrote : >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