ValidateNode Method
See Also Example Applies To
Validates a specific XMLDOMNode against a DTD.
Syntax
object.ValidateNode (Node)
| Part |
Description |
| object |
An object expression that evaluates to an XMLDOMParser object. |
| Node |
Required. The XMLDOMNode to be validated. |
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
This method will call itself recursively down the DOM tree that runs from the parsed node.
If there are any problems with the validation a vbXML_ERROR_INVALIDXML error will be thrown.
|