Re: How to validate the DOM file?

"nianxiang.chen" wrote:
> 
> How can I validate a DOM file according to the form which a explicit DTD
> file defined?

This is out of the scope of DOM Level 2 but in the scope of DOM
Level 3. Since DOM Level 3 is still unde development, you need to
use a proprietary extension for that.

> I generated a DOM xml file programmatically using DOM API, and defined a
> dtd using "setDocType("myRootName","mySystemID",null)".

Be aware that setDocType is not part of the DOM specifications.

Regards,
Philippe

Received on Friday, 1 December 2000 18:08:28 UTC