axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
void axl_node_transfer_childs ( axlNode old_parent,
axlNode new_parent 

Allows to transfer (move from) all childs (including comments, content, PI, nodes, etc) from the old parent to the new parent.

This function is particular useful while moving content from nodes.

old_parentThe old parent node where all childs will be removed and placed in the new parent.
new_parentThe parent node where the content will be placed. If the parent node already have childs, the content will be appended.