Author: SpongeBert | Posted on: 9/16/2009 8:23:08 AM | Views : 566

Hi all, I want to fill my xml:
 
    private string _xmlString =
  @"<?xml version=""1.0"" encoding=""utf-8"" ?>
   <message>
   <content>    
    </content>
    </message>";
    // This method returns an XmlDocument type.
    [WebMethod]
    [ScriptMethod(ResponseFormat = ResponseFormat.Xml)]
    public XmlDocument GetXmlDocument()
    {
        XmlDocument xmlDoc = new XmlDocument();
        xmlDoc.LoadXml(_xmlString);
        XmlNode root = xmlDoc.DocumentElement;
        XmlNode nood;
   ...

Go to the complete details ...