Re: Proposal for <INC SRC="URI"> Element for Compound HTML Documents.
Terry Allen (terry@ora.com)
Sat, 10 Dec 94 10:44:25 EST
| Terry Allen <terry@ora.com> wrote:
| > What you want to do can be done with SUBDOC and the ability to declare
| > entities in the internal subset in the doctype declaration. The
| > subdocuments should be valid HTML docs, though, properly nested.
| Subdocuments don't even have to be complete HTML documents;
| they can be fragments, too:
| <!DOCTYPE BLOCKQUOTE PUBLIC "-//IETF//DTD HTML//EN">
| <blockquote>
| <p>This is a complete document instance.
| Try it with sgmls or html-check -- it works!
| </blockquote>
| Any HTML container can be used as the top-level
| document element. (Another argument in favor
| of more containers, I guess...)
Yes, so that's a valid HTML doc (conforming to the HTML DTD).
Of course you could also just make this fragment an entity on
its own, and reference it, but then the complete composite doc
would have to parse correctly.
--
Terry Allen (terry@ora.com) O'Reilly & Associates, Inc.
Editor, Digital Media Group 103A Morris St.
Sebastopol, Calif., 95472
A Davenport Group sponsor. For information on the Davenport
Group see ftp://ftp.ora.com/pub/davenport/README.html
or http://www.ora.com/davenport/README.html