POC for DOM XML Parser

The attached source code shows how to build an XML Parser using System.Xml classes. Some of the functionality this attached source code hows are -

  1. Building XML object

  2. Loading XML documents from string and/or XML files

  3. Selecting a document node using SelectSingleNode

  4. Selecting and retrieving a document nodes using ChildNode

  5. Selecting and retrieving parent node of a selected node using ParentNode.

  6. Navigating through a node siblings

Download and run the attached source code for more details.