Anyway ...
I'm trying to adapt SimpleXPathAPI.cpp to print everything in the result set like XPathWrapper.cpp does.
I tried this:
const XObjectPtr theResult(
theEvaluator.evaluate(
theDOMSupport,
theContextNode,
XalanDOMString(argv[3]).c_str(),
thePrefixResolver));const NodeRefListBase& nodeset = theResult->nodeset();
but my error is:
The text "&" is unexpected. "NodeRefListBase" may be undeclared or ambiguous.
Not quite sure why.
Any help?
Thanks
