RE: XML within XML - includes, transcludes, whatever

> It's an interesting document, but unless I misread it completely it pretty
> much said that you shouldn't *want* to wrap independent, validated XML
> within validated XML, since SGML, and thus XML, is meant to be used within
> one document with one DTD, and that instead what you should want to do is
> build the wrapped data by extending the wrapping DTD, or by not
> validating.

[from http://www.nyct.net/~aray/notes/wek-namespaces.txt]
"The processing of documents happens *after* parsing. It's no more difficult
to process a set of related documents than it is to process a single
document. Therefore, there's no need to create a single document from
multiple documents *before* parsing.
By doing the combining *after* parsing you avoid all issues of syntactic
combination, including the need to distinguish elements from different name
spaces, because you haven't removed the original document boundaries, which
defined the name space distinctions in the first place."

I don't think Eliot was suggesting 'extending the wrapping DTD'. I think he
was suggesting keeping the original document boundaries, which implies a
multi-document approach rather than a single-document approach.


Mike

Received on Monday, 30 October 2000 12:48:24 UTC