class methods
- ofXml()
- appendAttribute()
- appendChild()
- find()
- findFirst()
- getAttribute()
- getAttributes()
- getBoolValue()
- getChild()
- getChildren()
- getDoubleValue()
- getFirstAttribute()
- getFirstChild()
- getFloatValue()
- getIntValue()
- getLastAttribute()
- getLastChild()
- getName()
- getNextSibling()
- getPreviousSibling()
- getUintValue()
- getValue()
- insertChildAfter()
- insertChildBefore()
- load()
- parse()
- prependAttribute()
- prependChild()
- removeChild()
- save()
- set()
- setAttribute()
- setName()
- toString()
global functions
getAttribute(...)
ofXml::Attribute ofXml::getAttribute(const string &name)
Returns the value of an attribute or an empty string if it doesn't exist.
getAttributes()
Range > ofXml::getAttributes()
Returns a map of all the attributes of the current node.
setAttribute(...)
ofXml::Attribute ofXml::setAttribute(const string &name, const T &value)
Sets attribute at the path indicated. If the attribute doesn't already exist, it's created.
toString(...)
string ofXml::toString(const string &indent)
Creates a string from the XML document. Useful for when you want to send or save the document.
Last updated 星期二, 19 十一月 2024 17:25:46 UTC - 2537ee49f6d46d5fe98e408849448314fd1f180e
If you have any doubt about the usage of this module you can ask in the forum.
If you want to contribute better documentation or start documenting this section you can do so here
If you find anything wrong with this docs you can report any error by opening an issue