AL
AL copied to clipboard
How to add child node into parent XML node?
Previously we have used "XMLNode.AppendChild", but how to do int now? How to add child node into parent XML node?
XMLDoc := XmlDocument.Create; XMLRootElement := XmlElement.Create('Root'); XMLChildElement := XmlElement.Create('Child'); XMLRootElement.Add(XMLChildElement); XMLDoc.Add(XMLRootElement);