| Extracted from Pike v7.8 release 866 at 2016-04-05.

[Top]
Parser
Parser.XML
Parser.XML.Tree
Parser.XML.Tree.AbstractNode

# Method Parser.XML.Tree.AbstractNode()->clone()

Method clone

  `AbstractNode clone(void|int(-1..1) direction)`

Description

  Clones the node, optionally connected to parts of the tree. If direction is -1 the cloned nodes parent will be set, if direction is 1 the clone nodes childen will be set.