Load xml data from a string : Xml String : XML C# Examples


C# Examples » XML » Xml String »

 

Load xml data from a string









    
using  System;
using  System.Xml;

class  MainClass
{
    static  void  Main(string[]  args)
    {
        XmlDocument  xmlDoc  =  new  XmlDocument();        
        xmlDoc.LoadXml("<Record>  write  something</Record>");

                xmlDoc.Save(Console.Out);
    }        
  
}
    
   
  
   



Output

 write something


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo XML
» Xml String