virtual P6R::P6ERR P6R::p6ISAX2ContentHandler::startPrefixMapping ( P6SAX2STRING pPrefix,
P6SAX2STRING pURI 
) [pure virtual]

Provides an application the notification when a new namespace is just about to come into scope.

The next event should be a startElement() method call that will indicate a new namespace definition.

This method is called only if the "http://xml.org/sax/features/namespaces" feature is enabled by a call to p6ISAX2XMLReader::setFeature(); All P6SAX2STRING values are ONLY valid during this callback. An application that wants to keep a copy of the string MUST make a copy during this method call.

Parameters:
pPrefix [IN] Given the example: "<USA:money>", then 'USA' is the namespace prefix returned in this parameter.
pURI [IN] A unique URI identifying the namespace about to come into scope.
Returns:
SuccessP6R::eOk 
FailureP6R::eInvalidArgOne of the parameters is NULL.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.