XmlDocument.appendChild

XmlNode appendChild(XmlNode child) @safe

Appends a top-level child.

Returns

The appended child.

Throws

XmlException if adding child would result in multiple document elements.