On Mon Sep 29 06:28:29 2025 +0000, Nikolay Sivov wrote:
What I mean is that removing a node likely implies that node is actually is linked already to this element, as an attribute. Every msxml3 node will have a corresponding libxml2 node linked to it. To access that you can use get_node_obj(msxmlnode)->node.node or something similar. My understanding is that such check will help with extra conditions that you have now. And yes, it's not the most straightforward thing to read, which mostly comes from an attempt to reconcile libxml2 and msxml differences.
thanks for the hint, now checking against `get_node_obj(msxmlnode)->node.parent`