XmlSaveFile: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__  
__NOTOC__
{{Server client function}}
This function saves a loaded XML file.
This function saves a loaded XML file.



Revision as of 16:41, 15 August 2007

This function saves a loaded XML file.

Syntax

bool xmlSaveFile ( xmlnode rootNode ) 

Required Arguments

  • rootNode: the root xmlnode of the loaded XML file.

Returns

Returns true if save was successful, false if the XML file does not exist.

Example

xmlSaveFile("/resources/nwayo/meta.xml", doc) --Saves the XML file as a .doc

See Also