ARTICLE

POC for DOM XML Parser

Posted by Kiran Khambete Articles | XML July 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#.
Reader Level:
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.

Login to add your contents and source code to this article
post comment
     
COMMENT USING
PREMIUM SPONSORS
DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and add new content to existing PDF documents from within your applications.
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.
Get Career Advice from Experts