"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, PhilippeReceived on Friday, 1 December 2000 18:08:28 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:52 GMT