void axl_node_deattach ( axlNode node  ) 

Supposing the node is attached to a xml document (axlDoc), this function allows to deattach the node from the document that is holding it.

This function is useful while requiring to reallocate nodes from parent to parent, making the parent node that is holding it to lost references to the node, decreasing all internal counts to the node, etc.

If the node isn't attached to any document, the function does nothing.

Parameters:
node The node to deattach.