XmlCreateChild

From Multi Theft Auto: Wiki
Revision as of 11:59, 6 April 2008 by Arc (talk | contribs) (New page: __NOTOC__ {{Server client function}} This function creates a new child node under an XML node. ==Syntax== <syntaxhighlight lang="lua">xmlnode xmlCreateChild ( xmlnode parentNode, string tagName )</syntaxhighlight> ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function creates a new child node under an XML node.

Syntax

xmlnode xmlCreateChild ( xmlnode parentNode, string tagName )

Required Arguments

  • parentNode: the xmlnode you want to create a new child node under.
  • tagName: the type of the child node that will be created.

Returns

Returns the created xmlnode if successful, false otherwise.

Example

See Also