[tei-council] hands=
David Sewell
dsewell at virginia.edu
Thu Apr 10 23:00:20 EDT 2008
Closed value list based on Troll numeral system. Problem solved.
<attDef ident="hand">
<desc>...</desc>
<datatype minOccurs="1" maxOccurs="1">
<rng:ref name="data.enumerated"/>
</datatype>
<valList type="closed">
<valItem ident="one"/>
<valItem ident="two"/>
<valItem ident="three"/>
<valItem ident="many"/>
<valItem ident="lots"/>
</valList>
</attDef>
(ref. Terry Pratchett's "Discworld" series. Sorry, couldn't help it.)
On Wed, 9 Apr 2008, Syd Bauman wrote:
> I'm kind of fond of the "3+" solution, although the parallelism of
> minHands= and maxHands= isn't lost on me, either. But to throw another
> approach into the pile, why not:
>
> <attDef ident="hand">
> <desc>...</desc>
> <datatype minOccurs="1" maxOccurs="1">
> <choice xmlns="http://relaxng.org/ns/structure/1.0">
> <ref name="data.count"/>
> <ref name="data.enumerated"/>
> </choice>
> </datatype>
> <valList type="semi">
> <valItem ident="various">
> <desc>an indeterminate or unspecified number greater than
> one</desc>
> </valItem>
> </valList>
> </attDef>
>
> _______________________________________________
> tei-council mailing list
> tei-council at lists.village.Virginia.EDU
> http://lists.village.Virginia.EDU/mailman/listinfo/tei-council
>
--
David Sewell, Editorial and Technical Manager
ROTUNDA, The University of Virginia Press
PO Box 801079, Charlottesville, VA 22904-4318 USA
Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903
Email: dsewell at virginia.edu Tel: +1 434 924 9973
Web: http://rotunda.upress.virginia.edu/
More information about the tei-council
mailing list