Examples Of Document Entities

If the XML document is in a file, the document entity is that file. These annotations started life in a file called notes.xml; that was the document entity. If you're fetching an XML document via a URL, then the stream of bytes that you get by calling a function like java.net.URL.openStream() is the document entity.

Back-link to spec

Copyright © 1998, Tim Bray. All rights reserved.