I want to configure support for namespaces when querying nodes from a
XalanDocument (this isn't strictly correct, but you should get the
idea):-


SelectSingleNode( const std::string & xPathExpression, XalanNode *
Context ) 
{
    TheEvaluator->selectSingleNode( *TheDOMSupport,
                                    Context,
                                    XalanDOMString(
xPathExpression.c_str() ).c_str() ) ;
  
}

Problem: This call causes a core dump whenever I request something like
this:-

SelectSingleNode ( "prefix:ElementName/prefix:SubElement/text()" ,
CurrentContext ) ;


How are you meant to configure support for namespaces in Xpath queries?

I had a look at the example applications but didn't find anything simple
that helped. 

As a side point, how can the documentation be improved, I find it
somewhat lacking in detail ;-)

Reply via email to