Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ISAX2Locator::nameSpaceInScope ( P6SAX2STRING pPrefix,
P6SAX2STRING pNameSpaceURI 
)
pure virtual

Extension to SAX2 definition.

Allows the caller to see if the namespace is in scope without the caller having to store all the URI strings. This is an alternative method to handling the p6ISAX2ContentHandler::startPrefixMapping() and p6ISAX2ContentHandler::endPrefixMapping() callbacks.

Parameters
pPrefix[ in ] Looking for the namespace that matches this namespace.
pNameSpaceURI[ out ] URI of the namespace in scope matching the pPrefix string.
Returns
SuccessP6R::eOk 
FailureP6R::eNotFoundpPrefix does not match an in scope namespace.
P6R::eInvalidArgOne of the parameters is NULL.