>...if documents are included (transcluded?), do they generally
>appear in a canonical serialised stream or do they remain external?
>(For digital signature purposes I think they would be best brought
>inline, which is why I ask.)
It depends:-) If the referenced "document" (known as an entity in XML)
is referenced from data content and is not a binary entity then it
>I am also wondering if there is a "correct" way to
>reference/include/whatever an external MIME-typed document or is
>that out of XML's scope? (Again, for signature purposes, it would be
>best if the referenced doc appeared inline in the canonical
There are a number of ways to do it. The XLink proposal is relevant
here as well because referncing/including stuff in other stuff can
be thought of as in hypertext linking terms.
The simplest case is when you want referenced objects to
be subsumed so as to appear as a single stream of data.
There is a well worn pattern in XML/SGML for doing this:-
<!DOCTYPE book SYSTEM "book.dtd" [
<!ENTITY chap1 SYSTEM "chap1.xml">
<!ENTITY chap2 SYSTEM "chap2.xml">
Sean Mc Grath - http://www.digitome.com/sean.htm
XML by Example:Building E-Commerce Applications
ParseMe.1st - SGML for Software Developers