xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Kelly" <ke...@ad1440.net>
Subject Re: Yet another question about creating a Document
Date Thu, 19 Oct 2000 21:54:37 GMT
> Again, I don't think the name of the root element is well known for
> non-validating uses of DOM.  Is it?

But if you know the doctype ahead of time, you know the root element,
too.  If you've set your doctype to be

<!DOCTYPE box "..." "...">

then the root element had better be <box> ... unless you want to trick
people who will eventually get ahold of these documents.  :-)

--Sean



Mime
View raw message