Reader Level:
Articles

POC for DOM XML Parser

By Kiran Khambete on Jul 21, 2005
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
  • 12674
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.

COMMENT USING