XML_Tree::&removeChild – remove child from tree


require_once "XML/Tree.php";

object XML_Tree_Node XML_Tree::&removeChild ( array $path , integer $pos )


Removes a child ($path,$pos) from tree and maintains namespace integrity


  • array $path - path to parent of child to remove

  • integer $pos - position of child in parents children-list

Return value

object XML_Tree_Node - parent whichs child was removed


This function can not be called statically.

inserts a child/tree (Previous) map XML file to tree (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.