![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 5.
my_xml
.appendChild(
childNode
)
childNode
The child node to be added to the specified XML object's child list.
Nothing.
Method; appends the specified child node to the XML object's child list. The appended child node is placed in the tree structure once removed from its existing parent node, if any.
The following example clones the last node from doc1
and appends it to doc2
.
doc1 = new XML(src1); doc2 = new XML(); node = doc1.lastChild.cloneNode(true); doc2.appendChild(node);
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |