XML(3)

πŸ“¦ version 3.1.3, in fedora 43, fedora 44

πŸ’– XML(3) β€” the glow-up edition πŸ’–

Library Functions Manual ✨ and yes bestie, this is XML(3) β€” the manual page for all the XML-related functions and objects. Sit down, grab a strawberry drink πŸ“, and let's get into it.


✨ NAME ✨

XML β€” XML related functions and objects πŸ¦‹


🌸 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 canb be used from client code.

(Yes, it literally says canb. We do not edit the ancestors' typo, we simply respect it πŸ™ˆ β€” the parser is yours to use from client code, fr fr.)


πŸ¦‹ Typedef Documentation πŸ¦‹

🌈 typedef struct cc_xml_doc cc_xml_doc

opaque container object type for XML documents β€” okay so this type is an opaque container object type for an XML document structure, and it's also the interface you use for configuring the parsing and writing code. It's giving two-jobs-one-icon energy πŸ‘‘βœ¨


⭐ Function Documentation ⭐

Creates a brand new cc_xml_doc object that is totally blank. Fresh out the box, no thoughts, no XML, head empty 🫢

Frees up a cc_xml_doc object and all its resources. Cleanup era, we love to see it πŸ§ΉπŸ’–

Sets the filter callback for document parsing. This is the one that makes it possible to use the parser as a streaming parser, by making the parser discard all elements it has read in 🌊

⚠️ Important caveat bestie, do not skip this: elements can only be discarded as they are popped β€” on push they will be kept regardless of what the filter callback returns. Periodt. No cap πŸ’€

Returns the set filter callback in the cb arg and the userdata in the userdata arg. It's giving "here's what you configured, bestie" 🎁✨


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Coin from the source code. Not a human, not a vibe, just automation doing its thing πŸ€–πŸ’…


And that's the whole page, babe β€” brought to you by Coin, Version 3.1.3, living in section XML(3) of the library functions manual. Take care of those cc_xml_doc pointers, free them with cc_xml_doc_delete_x, and go slay πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from