W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2000

Re: How to validate the DOM file?

From: Philippe Le Hegaret <plh@w3.org>
Date: Fri, 01 Dec 2000 18:08:27 -0500
Message-ID: <3A282F6B.35C1093A@w3.org>
To: "nianxiang.chen" <nianxiang.chen@biztunnel.com>
Cc: www-dom@w3.org
"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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:48 GMT