xmlTreeUnlinkNode

SYNOPSIS

xmlNode xmlTreeUnlinkNode(xmlNode node)

Parameters:

  • node - the xmlNode you want to unlink

Returns:

  • the node


DESCRIPTION
xmlTreeUnlinkNode() removes the node from the XML document in which it exists. All of its children will also be removed from the document (but still attached to node).


EXAMPLE

<$ret = (xmlTreeUnlinkNode($node))


SEE ALSO
xmlTreeAddChild, xmlTreeAddChildList, xmlTreeAddNextSibling, xmlTreeAddPrevSibling, xmlTreeAddSibling, xmlTreeSetRootElement


Copyright © Thunderstone Software     Last updated: Jul 17 2021
Copyright © 2021 Thunderstone Software LLC. All rights reserved.