XML_Tree::&removeChild

XML_Tree::&removeChild – remove child from tree

Synopsis

require_once "XML/Tree.php";

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

Description

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

Parameter

  • 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

Note

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.