Sebastian Rahtz wrote:
> Dieter Van Uytvanck wrote:
>> I'm creating an ODD file, let's say A.odd. Now from this file I would
>> like to import a self-defined TEI module (B.xml). Is it possible to use
>> the key attribute in a moduleRef-tag to refer to a file? E.g. as in:
>> <moduleRef key="B.xml"/>
> no. that won't work. the @key attribute assumes some private
> schema known to the processor. at the moment, the processor
> knows about the TEI Guidelines modules by name, by magic.
I see - thank you for making that clear.
> I am not quite sure what you are doing (are you defining an ODD
> from scratch, or makingh a TEI customization?), but I wonder whether
> just XInclude would not do what you want?
I am basically creating an ODD file from scratch. We were experimenting
with modelling a component-based metadata schema in ODD. Something like
a lego brick system to build personalized metadata schemas, e.g. an
instance generated by such a schema might look like:
Then the idea was to create ODD modules for each "brick", like a
LanguageDesc component, or a locationDesc. A user that wants to define
his own metadata schema then chooses some modules, defines a structure
using these modules and then generates the respective documentation and
W3C schema from the ODD file.
Now I have to admit that I'm not sure whether ODD is the best mean for
that purpose - I would greatly welcome any opninion or suggestion about
Dieter Van Uytvanck
Max Planck Institute for Psycholinguistics, Nijmegen, the Netherlands
tel. +31-(0)24-3521-162 | <http://www.mpi.nl/>