Hi!! I have a DOMtree in memory which I use with Xalan for xPath evaluations like this:
// create DOM tree 'doc' and use it for other things. //... XPathEvaluator::initialize(); XPathEvaluator eval; XercesDOMSupport domsupport; XercesParserLiaison parserLiaison; const XercesDOMWrapperParsedSource parsedSource(doc parserLiaison, domsupport); XalanDocument* xalanDoc= parsedSource.getDocument(); XalanElement* rootElement= xalanDoc>getDocumentElement(); XalanNode* node = eval.selectSingleNode(domsupport,rootElement, XalanDOMString(xpath.c_str()).c_str()); This should give me a pointer to one node, a XalanNode. I need to return a DOMNode from the function. Is that possible and in that case, how do I do that? //daniel
