DOM Level 2 added fields to DocumentType which can describe the <!DOCTYPE>. These are set at the time the DocumentType node is created -- which, in DOM2, must be before the Document node is created, since some enhanced DOMs might want to use the DocumentType information to help guide selection of specific DOM implementation classes. A modern DOM serializer should recognize those fields and produce the correct output. DOM3 was considering allowing later binding of the DocumentType node to the Document; I'm not sure what the current status of that proposal is. ______________________________________ Joe Kesselman / IBM ResearchReceived on Wednesday, 8 May 2002 09:24:46 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:55 GMT