Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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.