XmlNodeGetParent
Jump to navigation
Jump to search
Returns the parent node of an xml node.
Syntax
xmlnode xmlNodeGetParent ( xmlnode node )
Required Arguments
- node: the node of which you want to know the parent.
Returns
Returns the parent node of the specified node if successful. Returns false if the specified node is the root node or an invalid node was passed.
Example
See Also
- xmlCopyFile
- xmlCreateChild
- xmlCreateFile
- xmlDestroyNode
- xmlFindChild
- xmlLoadFile
- xmlLoadString
- xmlNodeGetAttribute
- xmlNodeGetAttributes
- xmlNodeGetChildren
- xmlNodeGetName
- xmlNodeGetParent
- xmlNodeGetValue
- xmlNodeSetAttribute
- xmlNodeSetName
- xmlNodeSetValue
- xmlSaveFile
- xmlUnloadFile