virtual P6R::P6ERR P6R::p6IXMLCompile::nameSpaceInScope ( const P6CHAR *  pPrefix,
P6UINT32  prefixLength,
P6CHAR *  pURI,
P6UINT32 *  pLength 
) [pure virtual]

Return the URI (which is in scope) that is associated with the given prefix.

The URI would appear in a standard XML namespace definition (e.g., "xmlns:p6r=http://www.p6r.com", where "p6r" is the prefix and "http://www.p6r.com" is its associated URI.

Parameters:
pPrefix [IN] A UTF-8 encoded string that is a XML namespace prefix without the ending ":", (e.g., p6r)
prefixLength [IN] The number of characters in the pPrefix parameter
pURI [OUT] Pointer to a buffer to copy a UTF-8 encoded URI, if this pointer is NULL then the required buffer size is returned in the pLength paramter
pLength [IN] The size of the buffer pointed to by pURI. [OUT] The number of characters that have been copied into the pURI buffer
Returns:
SuccessP6R::eOk 
FailureP6R::eInvalidArgpPrefix or pLength is NULL; or prefixLength is zero,
P6R::eNotFoundNo URI can be found for the given prefix.
P6R::eTooSmallThe buffer pointed to by pURI is too small.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.