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.

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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:07 UTC