[tei-council] DCR alignment inside ODD
Sebastian Rahtz
sebastian.rahtz at oucs.ox.ac.uk
Wed Apr 25 16:59:00 EDT 2012
On 25 Apr 2012, at 21:40, Piotr Bański wrote:
> I'm working on the ISO DCR / ISOcat issues.[1] Got stuck at the point of
> adding the relevant pieces of text to the Guidelines.
>
> The enlightened way to align grammatical categories with the values of
> the DCR is to put the appropriate references into the ODD, and I guess
> <equiv> is the ideal place for that.
>
> I imagine, and please correct me if I am wrong, that for elements such
> as <pos>, this action may be trivial:
>
> <elementSpec ident="pos" mode="change">
> <equiv dcr:datcat="http://www.isocat.org/datcat/DC-1345"/>
> </elementSpec>
<equiv url="http://www.isocat.org/datcat/DC-1345"/> is the syntax, I think.
> The above makes it possible for us to happily realize that whenever we
> do e.g.
>
> <gramGrp><pos>...</pos></gramGrp>
>
> all the machines in the world may know that by <pos>, we mean
> http://www.isocat.org/datcat/DC-1345 .
well, if they read the ODD yes. I think there is a certain amount
of "simple matter of programming" involved here.
>
> However, there is also the content of <pos> to be handled, and it is not
> so obvious to me how to represent this in the ODD. Intuitively, I'm
> thinking of
>
> <elementSpec>
> ...
> <content>
> {list of values with their DCR references}
> </content>
a <elementSpec> can contain a <valList>, whose <valItem> children
can have <equiv> children
Does that help?
I suspect what you'd really like is to use a DTD which supplied default dcr:cat attributes to
instances of <pos>.
Sebastian
More information about the tei-council
mailing list