is there an "xml-include"
ldodds at INGENTA.COM
Tue Nov 20 12:29:42 CET 2001
This is a means to separate out a schema into multiple files,
if I understand Gregor correctly he's asking for a way to test for
id/keyref uniqueness across multiple files?
If so, then you can include chunks of XML in other documents
using the dtd entity mechanism -- which is what I believe he
has already tried. I don't believe there's actually an equivalent
for XML Schema: you still need a DTD.
At a higher level there is XInclude which allows for including
content from one document into another. Not sure on
current support for this however.
(Assuming I'm on the right track) You may want to consider
using an additional validation mechanism here, such as XLinkIt 
which can make assertions (e.g. id uniqueness) across multiple
Hope that helps,
> -----Original Message-----
> From: TDWG - Structure of Descriptive Data [mailto:TDWG-SDD at usobi.org]On
> Behalf Of Robert A. (Bob) Morris
> Sent: 20 November 2001 11:41
> To: TDWG-SDD at usobi.org
> Subject: XML: is there an "xml-include"
> Yes. See
> Gregor Hagedorn writes:
> > Date: Tue, 20 Nov 2001 11:17:27 +0100
> > From: Gregor Hagedorn <G.Hagedorn at bba.de>
> > To: TDWG-SDD at usobi.org
> > Subject: XML: is there an "xml-include"
> > If character are defined with an id (numeric or character) in one
> > file, and the item descriptions use these ids through idref or
> > through xml-schema keyref means:
> > How can a validating parser validate the schema, including keyrefs,
> > without having to include the entire character definition in each of
> > 1000s of taxon description xml files? Can the ids for idref/keyref be
> > declared to be in a separate file?
> > I could not find a standard xml-include command. I know there is one
> > defined for dtds, but that is all I could find.
> > Can the xml experts help?
> > Gregor
> > PS I will post minutes of the TDWG meeting within the next days
> > ----------------------------------------------------------
> > Gregor Hagedorn (G.Hagedorn at bba.de)
> > Institute for Plant Virology, Microbiology, and Biosafety
> > Federal Research Center for Agriculture and Forestry (BBA)
> > Koenigin-Luise-Str. 19 Tel: +49-30-8304-2220
> > 14195 Berlin, Germany Fax: +49-30-8304-2203
> > Often wrong but never in doubt!
More information about the tdwg-content