Product Information > JADE Encyclopaedia of Classes – Volume 2 > Chapter 1 - System Classes > copyAfter

copyAfter

copyAfter(siblingNode: JadeXMLNode input): JadeXMLNode;

The copyAfter method of the JadeXMLNode class creates a copy of the node and all of its descendant nodes, inserts it into the XML tree after the node specified in the siblingNode parameter, and returns a reference to the created JadeXMLNode node instance.