XmlNodeGetParent

From Multi Theft Auto: Wiki
Revision as of 06:56, 21 December 2015 by Fabervox (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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 )

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