XmlLoadFile: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
This function loads an XML file into | This function loads an XML file into the xml tree. You can have multiple xml files loaded at once if you wish. | ||
==Syntax== | ==Syntax== |
Revision as of 16:30, 11 March 2007
This function loads an XML file into the 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
- xmlCopyFile
- xmlCreateChild
- xmlCreateFile
- xmlDestroyNode
- xmlFindChild
- xmlLoadFile
- xmlLoadString
- xmlNodeGetAttribute
- xmlNodeGetAttributes
- xmlNodeGetChildren
- xmlNodeGetName
- xmlNodeGetParent
- xmlNodeGetValue
- xmlNodeSetAttribute
- xmlNodeSetName
- xmlNodeSetValue
- xmlSaveFile
- xmlUnloadFile