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 Wednesday, 08 March 2023 18:11:11 UTC - 7c9ee203c70f155d301b41aa9b34dcc286921a3c
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