Xml creation question


#1

how do I create following using XmlElement? I couldn’t figure it out.

Peter


#2

Should be something like

XmlElement xmlElement("Name");
xmlElement.addTextElement("Peter");