Welcome to XML .NET section of C# Corner. In this section, you will find various XML .NET related source code samples, articles, tutorials, and tips.


  • Abhishek Kumar Ravi

    Get Started With XML Using C#

    In my first tutorial I am creating a XML file using C#. It’s like we take some input from the user and generate a XML file according to that.
  • Abhishek Kumar Ravi

    Read XML File Using XMLReader in C#

    In this article, we will try to read from an existing XML file using the XmlReader class.
  • Mahesh Chand

    DOM Overview

    In this article, I will explain you about DOM. Document object model (DOM) is a platform and language neutral interface that allows programs and scripts to dynamically access and update XML and HTM...
    Mahesh Chand Aug 30, 2018
  • Sagar Shinde

    How To Compare Two Dates In XSLT (Transform) By Using C# Code

    This blog gives us an overall idea of how to compare two dates in XSLT.
    Sagar Shinde Jan 17, 2018
  • Sagar Shinde

    What XSLT Transformation Is And How To Use It

    XSLT (Extensible Stylesheet Language Transformations) is a language for transforming XML documents into other XML documents. Sometimes the user wants to some kind of xml structure instead of whole ...
    Sagar Shinde Jan 06, 2018
  • Shweta Lodha

    Generating XML Root Node Having Colon-Via Serialization

    This article discusses some of the issues faced while generating an XML on the fly with some defined schema.
    Shweta Lodha Dec 20, 2017
  • Altaf Ansari

    Convert XML File To Excel File

    Here, we are going to learn to read XML files in C# WindowsForm applications. We are going to make a small single-form application which takes an XML file from the user and convert XML Data to Exce...
    Altaf Ansari Nov 27, 2017
  • Saravanan Ponnusamy

    Construct Readable XML Output From SQL Query From Two Or More Tables Using “For XML PATH” Statement

    In my previous article I discussed about how to get a XML format output from query and process that by using XML AUTO statement, and I give different types of “for XML”.
  • Gonzalo Isaza

    How XML Attribute Overrides Help Serialize Objects With Camel Case

    This article shows how to apply a pattern to Xml serialization and deserialization (in this example camel casing) without having to use a ton of attributes.
    Gonzalo Isaza Jul 25, 2017
  • Gonzalo Isaza

    Deserializing XML Into A List Or Array Of Objects

    Deserialization of arrays (or lists) tends to require the creation of empty classes in C#. Is that necessary?
    Gonzalo Isaza Jul 24, 2017
  • Mahesh Chand

    Reading and Writing XML in C#

    In this tutorial, you will learn how to read and write XML documents in Microsoft .NET using C# language.
    Mahesh Chand May 22, 2017
  • Renukadevi P

    Intoduction To XML

    This blog will teach you how to create XML.
    Renukadevi P Apr 13, 2017
  • Prakash Kumar

    Read And Write Dynamic T Object Into XML File

    In this blog, you will learn how to read and write Dynamic T object into XML File.
    Prakash Kumar Dec 13, 2016
  • Delpin Susai Raj

    XML Namespace Program

    In this blog, you will learn about XML namespace.
    Delpin Susai Raj Aug 21, 2016
  • Delpin Susai Raj

    XML Using Xpath Program

    In this blog, you will learn about XML, using Xpath Program.
    Delpin Susai Raj Aug 17, 2016
  • Delpin Susai Raj

    Introduction To XML

    In this blog, you will learn about XML.
    Delpin Susai Raj Aug 13, 2016
  • Delpin Susai Raj

    Introduction To XML Trees

    This code snippet, used in this blog is for XML trees.
    Delpin Susai Raj Aug 12, 2016
  • Shiju Joseph

    How To Convert JSON Into XML Or XML Into JSON

    In this blog, you will lear, how to convert JSON into XML or XML into JSON.
    Shiju Joseph Jul 21, 2016
  • Karthik Elumalai

    Generate Menus Using XML

    In this blog you will learn how to generate menus using XML.
    Karthik Elumalai Jun 25, 2016
  • Vipul Malhotra

    XML as a Parameter in SQL Query

    This blog is to show how to handle XML parameter in a SQL Query.
    Vipul Malhotra Jun 10, 2016
  • Suraj Sahoo

    Export An Excel Using Closed XML

    In this blog you will learn how to export an excel using Closed XML.
    Suraj Sahoo Jun 08, 2016
  • Kishor Bikram Oli

    Read XML file in WinJS Project using Windows Runtime Component

    In this article, we are going to learn how to read XML file in WinJS project.
    Kishor Bikram Oli May 07, 2016
  • Vipul Malhotra

    XML Creation using LINQ to XML

    This blog is for XML creation using LINQ to XML.
    Vipul Malhotra Apr 19, 2016
  • Arvind Kumar

    Editing Log4NET Configuration Programatically

    This article and associated project demonstrate how to use XDocument to edit log4netconfig files.
    Arvind Kumar Apr 16, 2016
  • Praveen Moosad

    Free E-Book Basics of XML Released

    C# Corner released its new book on Learn Basics of XML. DOWNLOAD FREE.
    Praveen Moosad Feb 21, 2016
  • View More