Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IXMLNode2::getNextNamespace ( P6UINT32 pIndex,
const P6WCHAR **  pName,
P6UINT32 pNameLength,
const P6WCHAR **  pValue,
P6UINT32 pValueLength 
)
pure virtual

Multiple namespaces can be in scope for an XML node.

This method allows the caller to iterate though all namespaces that are defined in this node. Call repeadly with increasing values of pIndex until the error 'eNotFound' or 'eEndOfRecord' is returned.

Parameters
pIndex[ in ] Starts at zero
pName[ out ] Will return the string 'xmlns:' followed by the prefix name (e.g., 'xmlns:xsl')
pNameLength[ out ] Number of characters copied into pName
pValue[ out ] Returns the URI associated with the namespace prefix (e.g., http://www.w3.org/1999/XSL/Transform)
pValueLength[ out ] Number of characters copied into pValue
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this funciton.
P6R::eInvalidArgOne of the parameters is NULL.
P6R::eNotFoundNo namespaces found at or after pIndex.
P6R::eEndOfRecordpIndex is too big.