virtual P6R::P6ERR P6R::p6IXMLNode::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.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.