SimpleXml

SimpleXml class

Creating instance: local xml = SimpleXml();

Class methods:

bool LoadFromFile(string filename)
bool LoadFromString(string doc)
bool SaveToFile(string filename)
string ToString()
SimpleXmlNode GetRoot(string name, bool create)

SimpleXmlNode class

Class methods:

string Attribute(string attributeName)
int AttributeInt(string attributeName)
bool AttributeBool(string attributeName)
string Name()
string Text()
SimpleXmlNode CreateChild(string name)
SimpleXmlNode GetChild(string name, bool createIfNotExists)
SetAttributeString(string name, string value)
SetAttributeInt(string name, int value)
SetAttributeBool(string name, bool value)
SetText(string value)
bool IsNull()
DeleteChilds()
int GetChildCount()
SimpleXmlNode GetChildByIndex()
int GetAttributeCount()