coin_XML(3)
π coin_XML π
okay bestie, listen up β this is coin_XML from section 3 of the Coin manual, and it's literally the XML girlie of the family. π
β¨ NAME β¨
coin_XML β XML related functions and objects π¦
- Coin now has its own XML parser that also can be used from client code. no cap. π
πΈ SYNOPSIS πΈ
π Typedefs
typedef struct cc_xml_doc cc_xml_docβ opaque container object type for XML documents
π Functions
cc_xml_doc * cc_xml_doc_new (void)
void cc_xml_doc_delete_x (cc_xml_doc *doc)
void cc_xml_doc_set_filter_cb_x (cc_xml_doc *doc, cc_xml_filter_cb *cb,
void *userdata)
void cc_xml_doc_get_filter_cb (const cc_xml_doc *doc, cc_xml_filter_cb
*&cb, void *&userdata)
β¨ Detailed Description β¨
Coin now has its own XML parser that also can be used from client code. it's giving self-sufficient. it's giving main character energy. π
π§ Typedef Documentation π§
πΈ typedef struct cc_xml_doc cc_xml_doc
opaque container object type for XML documents π
This type is an opaque container object type for an XML document structure, and also the interface for configuring the parsing and writing code. so like, it's the vibe and the control panel. obsessed. β¨
π Function Documentation π
π¦ cc_xml_doc * cc_xml_doc_new (void ) [related]
Creates a new cc_xml_doc object that is totally blank. fresh out the box, no thoughts, head empty, iconic. π«Ά
π void cc_xml_doc_delete_x (cc_xml_doc * doc) [related]
Frees up a cc_xml_doc object and all its resources. bye bestie, you ate and now you rest. π
β void cc_xml_doc_set_filter_cb_x (cc_xml_doc * doc, cc_xml_filter_cb * cb, void * userdata) [related]
Sets the filter callback for document parsing. π₯
This makes it possible to use the parser as a streaming parser, by making the parser discard all elements it has read in.
okay important caveat bestie, don't skip this: Elements can only be discarded as they are popped β on push they will be kept regardless of what the filter callback returns. so like, the filter doesn't get a say on the way in, only on the way out. periodt. π
π void cc_xml_doc_get_filter_cb (const cc_xml_doc * doc, cc_xml_filter_cb & *cb, void & *userdata) [related]
Returns the set filter callback in the cb arg and userdata arg. it hands you back exactly what you gave it, no notes. β¨
π Author π
Generated automatically by Doxygen for Coin from the source code. π€π
and that's the whole page bestie β this one came from the Coin manual, Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and it's filed under coin_XML(3). slay, go parse something. πβ¨π¦
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms