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
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | A successful call to intialize() must be made before calling this funciton. |
P6R::eInvalidArg | One of the parameters is NULL. |
P6R::eNotFound | No namespaces found at or after pIndex. |
P6R::eEndOfRecord | pIndex is too big. |