XmlSaveFile
Jump to navigation
Jump to search
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
- xmlCopyFile
- xmlCreateChild
- xmlCreateFile
- xmlDestroyNode
- xmlFindChild
- xmlLoadFile
- xmlLoadString
- xmlNodeGetAttribute
- xmlNodeGetAttributes
- xmlNodeGetChildren
- xmlNodeGetName
- xmlNodeGetParent
- xmlNodeGetValue
- xmlNodeSetAttribute
- xmlNodeSetName
- xmlNodeSetValue
- xmlSaveFile
- xmlUnloadFile