Note: Download the actual book by clicking on Download Files link. The PDF Version link is just a PDF version of this page.
Programming XML with C# is a book (65 pages) written in step-by-step tutorial format for beginners and students who want to learn XML programming using C# language. It is recommended that you have some programming experience using any of the object-oriented languages such as C++, Pascal, or Java. It is also recommended that you are familiar with C# language syntaxes and programming. If you are not a C# programmer, I recommend to read Programming C# for Beginners before this book. This book can be found in C# Programming section of C# Corner.
In this book, you will learn the basic elements of XML and classes and objects available in .NET Framework to work with XML. After that, you will learn how to read, write, updated, and transform XML using C#. .NET also provides support for relationships between data (via ADO.NET) and XML. In this chapter, I also discuss how you can take advantages of classes found on ADO.NET and connect data with XML.
Download the entire book (65 pages) by clicking on Download Files link.
Table of Contents
- Introduction to XML
- DOM Overview
- XML Representation in .NET World
- The XML.NET Architecture
- Reading XML
- Writing XML
- Understanding DOM Implementation
- Transformation and XSLT
- Connecting data and XML via ADO.NET
- Traversing XML Documents
- XML Designer in Visual Studio .NET
Recommended Readings
If you plan to master C# programming, here are some other books you may want to consider reading.
- A Programmer's Introduction to C# 2.0, Third Edition
- C# and the .NET Platform, Second Edition
- The Complete Visual C# Programmer's Guide

jahaniishaq aj112Posted Dec 30, 2018, 6:36 AM EST
I am from pakistan and I love you and respect what you do.
JAGAT YADAVPosted Mar 22, 2017, 6:34 PM EDT
For xml this is good content and document
vinh nguyenPosted Apr 9, 2015, 12:55 AM EDT
thanks you!
am sunderPosted Dec 20, 2014, 2:55 PM EST
Quite interesting...
Praba PrakashPosted May 23, 2013, 7:39 PM EDT
It Nice....XML Providing Serialisation In C#............Thanks
Mahesh ChandTOP 10Posted May 8, 2013, 6:40 AM EDT
Enos, Post your questions on the forums. WE do have many articles and a book on XML too. Search this website.
EnosPosted Nov 16, 2010, 3:18 AM EST
How to make pages communicate using xml? any given examples of code it will be my pleasure
Amin NooriPosted May 31, 2010, 11:01 PM EDT
thanks for EBook. Good Luck
sanju somanPosted Apr 29, 2010, 4:23 AM EDT
thanks buddy for giving such a understandable book.... keep going we want many of this kind hahahah
raheem aleemPosted Aug 3, 2009, 12:58 PM EDT
Thanks, I've been looking for a good reference guide for XML with c# that is straight to the point.
asghar abbaszadehPosted Feb 21, 2009, 6:22 AM EST
thank you for this free book. asghar
Gon ZPosted Nov 22, 2008, 7:55 PM EST
Thanks for your help. I´ll read the book in no time!
Durgesh ChaturvediPosted Feb 18, 2008, 3:47 PM EST
Differance with asp.net2.0 to asp.net3.0 and required documents.
arti poojaryPosted Jan 18, 2008, 2:21 AM EST
Thanks Mahesh for the book!!!!!!!!!
divaker singhPosted Dec 17, 2007, 4:32 AM EST
hi mahesh, this is diwaker ,my company is looking for a provider of ebxml software,one USA company has told us to provide it for 50,000 rs. / user ,can you help us to find the right cost of this software.
mowonChanPosted Oct 30, 2007, 6:03 PM EDT
Thank you for your kindiness that to upload this document, that very helpful ^^
Former membereditedPosted Sep 20, 2007, 5:36 AM EDTEdited Sep 20, 2007, 5:38 AM EDT
In the Book there is no < at the beginning of the statement (Listing 6-5 Attributes in XML files). It must be like this <?xml version ='1.0'?><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p> <?xml version ='1.0'?>
allan dickowPosted Sep 16, 2007, 9:35 PM EDT
Am i the only one having a hard time finding the download link?