Hi! I've a problem using a XercesDocumentWrapper.
I've a Xerces DOMDocument and I'd like to evaluate an xpath expression
on a specific DOMElement.
What I've done is to build a XercesDOMWrapperParsedSource (using the
DOMElement, a XercesParserLiaison and a XercesDOMSupport).
Then I got a XercesDocumentWrapper from the XercesParserLiaison (using
mapDocumentToWrapper).
Now.. to get the specific XalanNode* to use as context node for the
evaluate, I've tried using the mapNode method of the
XercesDocumentWrapper passing the DOMElement as a parameter.
I got no errors but the result is NULL.
I don't get what am I doing wrong.
Can someone please help?
Thanks in advance,
Antonio Scotti