XmlNodeGetParent: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Needs example)
mNo edit summary
Line 1: Line 1:
{{Server client function}}
{{Server client function}}
{{Needs_Example}}
__NOTOC__
__NOTOC__
Returns the parent node of an xml node.
Returns the parent node of an xml node.
Line 18: Line 19:
==See Also==
==See Also==
{{XML functions}}
{{XML functions}}
[[Category:Needs Example]]

Revision as of 12:56, 2 January 2014

Accessories-text-editor.png 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 )

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