Append an element to the parent children
xmlAppend(parent, child)
a mlist typed XMLElem
a mlist typed XMLElem
Append an element to the children of another element.
doc = xmlDocument(); root = xmlElement(doc, "root"); doc.root = root; for i=1:5 xmlAppend(doc.root, xmlElement(doc, "child_" + string(i))); end; xmlDump(doc) xmlDelete(doc); | ![]() | ![]() |
Version | Description |
5.4.1 | XML module updated. |