XmlLoadFile

From Multi Theft Auto: Wiki
Revision as of 22:56, 20 May 2006 by EAi (talk | contribs)
Jump to navigation Jump to search


This function loads an XML file into an xml tree. You can have multiple xml files loaded at once if you wish.

Syntax

xmlnode xmlLoadFile ( string filename )              

Required Arguments

  • filename: The path to the file you wish to load.

Returns

Returns an xmlnode object if successful, or false otherwise.

Example

This example loads an XML file called test.xml.

node = xmlLoadFile ( "test.xml" )

See Also