XmlNodeGetParent: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(add oop syntax) |
||
Line 8: | Line 8: | ||
xmlnode xmlNodeGetParent ( xmlnode node ) | xmlnode xmlNodeGetParent ( xmlnode node ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{OOP||[[xmlnode]]:getParent|parent}} | |||
===Required Arguments=== | ===Required Arguments=== |
Revision as of 20:26, 2 January 2015
Script Example Missing Function XmlNodeGetParent needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
Returns the parent node of an xml node.
Syntax
xmlnode xmlNodeGetParent ( xmlnode node )
OOP Syntax Help! I don't understand this!
- Method: xmlnode:getParent(...)
- Variable: .parent
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