Reliable endpoints for XML docs (and doclets)

Ken MacLeod ken at
Thu Mar 5 19:21:35 GMT 1998

Tom Bannon <bannon at> writes:

> Perhaps I've missed something, but I don't see that the start 
> and end points of XML documents are well defined, ie. something 
> like <xml> and </xml>, akin to HTML's <html> and </html>.

Yes, you've missed something :-).  HTML has <html> and </html> because
there is an implied (if missing)

  <!doctype HTML system>

at the beginning of every HTML document.  In XML you will have an explicit

  <!doctype TOP system "mine.dtd">

that will say that this document's top element is <top>...</top>.

  Ken MacLeod
  ken at

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list