xmlNodeGetParent | Multi Theft Auto: Wiki Skip to content

xmlNodeGetParent

Client-side
Server-side
Shared

Returns the parent node of an xmlnode.

OOP Syntax Help! I don't understand this!

  • Method: xmlnode:getParent(...)
  • Variable: .parent

Syntax

xmlnode|false xmlNodeGetParent ( xmlnode node )
Required Arguments
  • node: The node of which you want to know the parent.

Returns

  • xmlnode|false: parent

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.

Code Examples

Script Example Missing

Function xmlNodeGetParent needs a script example. Help out by writing one.

Contribution guidelines