Re: XML version number via DOM

"Watson, Christopher" wrote:
> 
> Setting aside the fact that I can't seem to keep myself from responding to
> list messages prior to RTFM (honestly, I knew that the Document can, along
> with a single Element, have Comments, PIs, and a DocumentType -- I just
> glazed over that stuff), the Level 2 DOM still doesn't provide for a
> Document Declaration node. So if an implementation wanted the Document to
> provide access to the XMLDecl version attribute, it would have to implement
> an extension. Correct?

This is correct. That's always the case for all non supported functionalities
of DOM Level 2, isn't it?

Philippe

Received on Thursday, 22 March 2001 12:56:05 UTC