Latest web development tutorials

XML DOM strictErrorChecking property

Document Object Reference Document Object

Definition and Usage

strictErrorChecking property sets or returns whether to force the error checking.

When set to false, implementation will not test every possible error conditions. This property defaults to true.

grammar

documentObject.strictErrorChecking


Examples

The following code fragment uses loadXMLDoc () to " the Books.xml " into xmlDoc and returns whether to force the error checking:

Examples

xmlDoc=loadXMLDoc("books.xml");

errCheck=xmlDoc.strictErrorChecking;
document.write(errCheck);

Output:

true

try it"

Document Object Reference Document Object