Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IDOMXML::isParentOf ( const P6WCHAR pName,
P6UINT32  nameLength,
const P6WCHAR pURI,
P6UINT32  uriLength,
p6IXMLNode pNode,
p6IXMLNode **  pFoundAncestor 
)
pure virtual

Is there an XML node with pName that is the immediate parent of the pNode XML node.

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 ] String name of the parent of pNode ?
nameLength[ in ] length of characters in pName.
pURI[ in ] Can be NULL, URI of namespace associated with the pName name
uriLength[ in ] Number of characters in pURI
pNode[ in ] Test to see the parent of this node.
pFoundAncestor[ out ] Pointer to the parent node. Can be used to walk up the tree.
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this funciton.
P6R::eInvalidArgOne of the parameters is NULL.