To generate a XML document with elements and attributes is easy by using LINQ to XML. LINQ to XML provides the XDocument, XElement and XAttribute classes,with the help of XElement class we can create XML content and create a new XML file using the XDocument class. Continue reading Generate xml document with elements and attributes using LINQ to XML
XML document is widely used file in the projects where we can store the small or big data such as configuration settings or last used data on the form. .Net framework provides various way to create the XML files (such as DataSet.WriteXML), but my concern it is so easy to create the XML document by using the LINQ to XML. Continue reading Create the XML document using LINQ to XML in C#
This article demonstrates how we can make change the value of an elements in xml document using the LINQ. In this example i have a XML file that contains the data of the employees such as name and salary. Continue reading Update the xml file using LINQ in C#
The basic similarity in the XML file and treeview control is the representation of the data in a hierarchical format. So we can bind the treeview control from the XML file. In this article i will explain you how we can do it. Continue reading Bind Treeview from xml file at runtime in C#
This is very simple example, but this XML document contains all the important parts that you will find in all XML documents.
Continue reading A Simple XML Document