Home
Products & Services
Developers
XML
Contents Table
On-Line Help
Release Notes
Install Notes
Binaries
Sources
XML-RPC
RSS
About
Want to know more?
Use the following form to contact someone at EnAppSys for more information.

XMLDOMParser Object

See Also   Example   Properties   Methods   Events

Models an XML Document Object Model Parser.

Class Diagram

Remarks

The XMLDOMParser contains a large number of methods and properties. These can be broken into three groups.

The base node group consist of functions that mimic the XMLDOMNode properties and methods. Specifically, the Position, Level, Value, NodeType and Attributes properties. The XMLDOMNode object also contains collection class functionality to access sub-nodes of the base node. The number of items in the collection of sub-nodes is held in the Count property, specific sub-nodes can be returned from the collection using the Item method, while the entire collection of sub-nodes can be iterated using the For Each...Next structure.

There are methods used to parse in the XML File. ParseFile, ParseString and ParseWeb will take an XML document and parse it. The text in the document is then stored in the read-only RawDocument property.

There are properties and methods that validate a file against a DTD. The ValidationRule property reports the validation rule in force. DTD and RootElement are properties that hold the DTD and the root element for validation. Validate and ValidateNode will validate the document against the DTD and root element.

A XMLDOMParser object can be created the same way other objects are created. For example:

Dim X As New XMLDOMParser
Terms of Use, Cookie and Privacy PoliciesAll Materials on this Website are Copyright EnAppSys Ltd. ©2002 - 2012
Registered Office: EnAppSys Ltd, Arnison House, 139B The High Street, Yarm, Stockton-on-Tees TS15 9AY
Registered in England and Wales, Number: 4685938