Home
Products & Services
Developers
XML
Contents Table
On-Line Help
Release Notes
Install Notes
Binaries
Sources
XML-RPC
RSS
About

Validate Property

See Also   Example   Applies To

Validates the XML DOM tree using the defined DTD.

Syntax

object.Validate

The object placeholder represents an XMLDOMParser object.

Remarks

This method will use an already loaded DTD stored in the DTD and RootElement properties to validate the XML document that has been parsed into the DOM tree.

Background

The validate method is automatically executed when an XML document is parsed using the ParseString or ParseWeb method and the ValidationRule property is set appropriately. It works by executing individual ValidateNode methods on every node in the DOM tree that is a tag. If there are any problems with the validation a vbXML_ERROR_INVALIDXML error will be thrown.

Terms of Use, Cookie and Privacy Policies All Materials on this Website are Copyright EnAppSys Ltd. ©2002 - 2008