XmlDocument doc = new XmlDocument();
    doc.LoadXml("<replys>   <reply>
      <name>aaa</name>
      <replytime></replytime>
      <content>abcde</content>
   </reply>
   <reply>
      <name>bbb</name>
      <replytime></replytime>
      <content>bbccc</content>
   </reply>
</replys>");    XmlNode xmlEle = doc.getElementByTagName("replys")[0];    //Create a new node.
    XmlElement elem = doc.CreateElement("reply");
    elem.InnerText="test";    //Add the node to the document.
    xmlEle.AppendChild(elem);