Hi all ,
i want to create XML like below using XmlTextWriter and also want to read using XmlTextReader in my C# application.
<?xml version="1.0" encoding="utf-8"?>
plsease help me to create and read this. :)
thanks in advance :)
Why XmlTextWriter? Since .NET 2.0 the recommended way is to use XmlWriter.Create, see
And XmlWriter and XmlReader are low level APIs, it is much easier and more comfortable to handle such small sized XML documents with LINQ to XML (.NET 3.5 or later) or XmlDocument (in earlier .NET versions).
MVP Data Platform Development
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?