Standalone documents as external parsed entities.
cowan at locke.ccil.org
Mon Apr 12 18:47:24 BST 1999
Alan Kennedy wrote:
> >From my reading of the XML 1.0 spec, it is not possible to have a
> standalone document, with it's own DTD, "included" in another document
> as an external parsed entity.
> Am I wrong?
You are right.
The nearest you can come in a formal sense is to declare your
standalone document as an *unparsed* entity. Note that
"unparsed" != "unparsable".
Then you need an application framework capable of recursively
parsing unparsed entities using XML notation, which AFAIK does
not yet exist.
As for your specific problem, if your documents conform to
random DTDs, you have much worse problems than the rules about
external entities. What is a member name? What is a country?
What is the format of your original documents? Can you make
them conform to a single DTD, like say XHTML 1.0?
XAF (http://www.megginson.com/XAF) may be helpful.
John Cowan http://www.ccil.org/~cowan cowan at ccil.org
You tollerday donsk? N. You tolkatiff scowegian? Nn.
You spigotty anglease? Nnn. You phonio saxo? Nnnn.
Clear all so! 'Tis a Jute.... (Finnegans Wake 16.5)
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev