Image Uploader Scripting API
|
Public Member Functions | |
string | Attribute (string name) const |
bool | AttributeBool (string name) const |
int | AttributeInt (string name) const |
SimpleXmlNode | CreateChild (string name) |
void | DeleteChilds () |
SimpleXmlNode | Each (function callback) |
int | GetAttributeCount () |
SimpleXmlNode | GetChild (string name, bool create=true) |
SimpleXmlNode | GetChildByIndex (int index) |
int | GetChildCount () |
array | GetChilds (string name) |
bool | IsNull () const |
string | Name () const |
void | SetAttribute (string name, string value) |
void | SetAttribute (string name, int value) |
void | SetAttribute (string name, int value) |
void | SetAttributeBool (string name, bool value) |
void | SetAttributeInt (string name, int value) |
void | SetAttributeString (string name, string value) |
void | SetText (string value) |
string | Text () const |
SimpleXmlNode class
SimpleXmlNode& Each | ( | function | callback | ) |
SimpleXmlNode GetChildByIndex | ( | int | index | ) |
Slow function (it iterates over children)
int GetChildCount | ( | ) |
Slow function (it iterates over children)
array GetChilds | ( | string | name | ) |
Get children by tag name
Example: