> But for the second part of my question... > How can i know the xpath i'm evaluting has 'failed'? > It throws an exception (probably XPathException). I tend to do:
catch (const XSLException &e)
{
e.defaultFormat(errorMessage);
}
where errorMessage is a XalanDOMString.
