XML DOM strictErrorChecking Property
Document Object
Definition and Usage
The strictErrorChecking property sets or returns whether error checking is enforced.
When set to false, the implementation does not test for every possible error condition. This property is set to true by default.
Syntax
documentObject.strictErrorChecking
Example
The following code snippet uses loadXMLDoc() to load "books.xml" Load into xmlDoc, and return whether error checking is enforced:
Example
xmlDoc=loadXMLDoc("books.xml");
errCheck=xmlDoc.strictErrorChecking;
document.write(errCheck);
Output:
true
Try it »
Document Object