XMLTools[AddChild] - add a child element to an XML element
|
Calling Sequence
|
|
AddChild(xmlTree, child, n)
|
|
Parameters
|
|
xmlTree
|
-
|
Maple XML tree; XML element
|
child
|
-
|
string or XML element; child element to add to the xmlTree
|
n
|
-
|
positive integer; position where the child element is added
|
|
|
|
|
Description
|
|
•
|
The AddChild(xmlTree, child, n) command creates a new XML element from xmlTree by inserting the XML element child at the position indicated by n. Parameter n must be less than or equal to the number of children in the original tree xmlTree. The new child node child becomes the n + 1st child of the resulting tree.
|
|
|
Download Help Document
Was this information helpful?