Reader Level:

POC for DOM XML Parser

On July 21, 2005 Articles | XML
The classes found in System.Xml namespace provide functionality to parse and navigate through XML documents. The attached source code shows how to use this functionality in C#.
  • 0
  • 0
  • 12504
Download Files:

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.

  • 385rank
  • 155K readers

Trending up