Man, these API's are hard to follow. There's no description of what the classes are for or do, nor what the methods do. Just plain specification.

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




Reply via email to