virtual P6R::P6ERR P6R::p6IXMLNode::isName ( const P6WCHAR *  pName,
P6UINT32  nameLength,
const P6WCHAR *  pURI,
P6UINT32  uriLength,
P6BOOL *  pResult 
) [pure virtual]

Test the name of the XML node.

A pName of "*" (length == 1) (i.e., star is a wildcard) will match all nodes. If the node name (i.e., pName) has a namespace prefix (e.g., 'P6R:number'), then the URI associated with the prefix should be provided in the pURI parameter. Proper node comparison requires that namespace URIs to be compared rather than prefixes.

Parameters:
pName [IN] Case-sensitive compare between this name and the node's name.
nameLength [IN] Number of characters in pName
pURI [IN] Can be NULL, URI of namespace associated with the pName name
uriLength [IN] Number of characters in pURI
pResult [OUT] P6TRUE if the names match, P6FALSE otherwise
Returns:
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this funciton.
P6R::eInvalidArgOne of the parameters is NULL.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.