- From: Philippe Le Hegaret <plh@w3.org>
- Date: Fri, 01 Dec 2000 18:08:27 -0500
- 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 UTC