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.


  • 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.
  • 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 ...
  • 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.
  • 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...
  • 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”.
  • 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.
  • 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?
  • 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.
  • Intoduction To XML

    This blog will teach you how to create XML.
  • 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.
  • XML Namespace Program

    In this blog, you will learn about XML namespace.
  • XML Using Xpath Program

    In this blog, you will learn about XML, using Xpath Program.
  • Introduction To XML

    In this blog, you will learn about XML.
  • Introduction To XML Trees

    This code snippet, used in this blog is for XML trees.
  • 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.
  • Generate Menus Using XML

    In this blog you will learn how to generate menus using XML.
  • XML as a Parameter in SQL Query

    This blog is to show how to handle XML parameter in a SQL Query.
  • Export An Excel Using Closed XML

    In this blog you will learn how to export an excel using Closed XML.
  • 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.
  • XML Creation using LINQ to XML

    This blog is for XML creation using LINQ to XML.
  • Editing Log4NET Configuration Programatically

    This article and associated project demonstrate how to use XDocument to edit log4netconfig files.
  • Free E-Book Basics of XML Released

    C# Corner released its new book on Learn Basics of XML. DOWNLOAD FREE.
  • Create RSS Feeds For Your Blog or Website

    In this article you will learn how to create RSS feeds for your blog or website.
  • Fetch RSS Feed Content From LINQ To XML

    In this article we are going to fetch content from LINQ to XML classes and manipulate XML atom feed and get their elements.
  • Fix: XML Parsing Error due to use of &, < and > characters

    This blog talks about issue when using &, < and > in xml file and ways to fix them.
  • View More