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 화요일, 10 11월 2026 23:36:19 UTC - fb2d27279e84b28dcc6d42cd76f15da2d9c8342d


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