[tei-council] comments on edw90
Sebastian Rahtz
sebastian.rahtz at oucs.ox.ac.uk
Fri Sep 23 04:23:37 EDT 2005
Syd Bauman wrote:
><person age="#middle-aged">
><!-- elsewhere, very likely in <teiHeader> of same doc ... -->
><codeGrp gis="person personGrp" attr="age">
> <codeDef xml:id="infant">birth to 1 year</codeDef>
> <codeDef xml:id="child">1 to 8 years</codeDef>
> <codeDef xml:id="teen">9 to 19 years</codeDef>
> <codeDef xml:id="young-adult">20 to 30 years</codeDef>
> <codeDef xml:id="yuppie">30-39 years</codeDef>
> <codeDef xml:id="middle-aged">Generally 40-65, but post-menopausal
> women are in a separate
> category</codeDef>
> <!-- ... -->
></codeGrp>
>
>
haven't you just reinvented <classDecl>? in one of my files I
see
<taxonomy xml:id="Zone">
<category xml:id="z_A"><catDesc>Parte Antica</catDesc></category>
<category xml:id="z_V"><catDesc>Zona Vecchia</catDesc></category>
<category xml:id="z_P"><catDesc>Zona Prima</catDesc></category>
<category xml:id="z_S"><catDesc>Zona Seconda</catDesc></category>
<category xml:id="z_T"><catDesc>Zona Terza</catDesc></category>
</taxonomy>
which surely has the same effect? tying the code table to the
element name and attribute seems a mildly clumsy way of doing it.
sebastian
More information about the tei-council
mailing list