Function to check if a node is a self-closed tag (<.../>) to process not self-closed tags differently.
I've a fork with patched implementation to explicitly declare a self-closed tag: https://sourceforge.net/p/tacklelib/3dparty--rapidxml/HEAD/tree/branches/
Example:
for (rapidxml::xml_node<> * node = ...; node; node = node->next_sibling()) { node->flags(node->flags() & ~rapidxml::node_self_closed_tag); }
Log in to post a comment.
I've a fork with patched implementation to explicitly declare a self-closed tag: https://sourceforge.net/p/tacklelib/3dparty--rapidxml/HEAD/tree/branches/
Example: