XmlCreateFile: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ {{Server client function}} This function creates a new XML file inside the root directory of the resource it's called from. ==Syntax== <section name="Server and Client" class="...)
 
mNo edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Server client function}}
{{Server client function}}
This function creates a new XML file inside the root directory of the resource it's called from.
This function creates a new XML document, which can later be saved to a file by using [[xmlSaveFile]].


==Syntax==  
==Syntax==  

Revision as of 00:29, 13 September 2007

This function creates a new XML document, which can later be saved to a file by using xmlSaveFile.

Syntax

Click to collapse [-]
Server and Client
xmlnode xmlCreateFile ( string filename, string rootNodeName )

Required Arguments

  • filename: The name of the XML file you wish to create.
  • rootNodeName: The name of the root node in the XML document.

Returns

Returns the root xmlnode object of the new XML file if successful, or false otherwise.

See Also