John Halleck wrote:
>
> On Wed, 7 Mar 2001, Paul & Eleanor wrote:
>
> > [...]
>
> > role=bookie, role=sketcher and role=book all look fine for many humans,
>
> I gather that you are asking that the field be a enumeration type
> instead of a string?
The designers talk about crosslinking, I assume this is between
instrument and person, so that someday someone could connect
person and instrument and figure total surveyed by a person, or
total blunders made by a person, etc. but then I look at the definition
and there is no such linking. I understand where they might want
the ability to have an open ended value here, but somewhere
you got to define how role connects to instrument
as far as I can see this is a hole in their spec.
John wondered if I was thinking enumeration. Yeah, something
like that, but looking around at
http://www.w3.org/TR/1998/REC-xml-19980210.html#dt-enumerated
I can't see where in an enumeration you could specify a fixed set
of values but also allow anything else, so this type of cross link
either needs to get into IDREF, XPOINTER, or outside the XML
DTD specify that certain values would mean special things.
But Devin wrote:
>Guess who's NOT going to find that useful,
>all the French, German, Japanese, etc. cavers who don't want to use
>English to describe the roles in their survey party.
Whatever they do they'll be stuck with the English words as elements
names, unless someone generates the ultimate in parallel trees of
elements replicating all elements names in various languages.
(but I was hoping for Spanish myself)
Okay, so you want to connect people with their roles spelled in
an instrument. This can be done, just place an attribute in the
instrument element that identifies the role that uses it, then
<Person role="Instrument Person">
Paul Hill
</Person>
...
<Clinometer Role="Instrument Person" ... >
...
</Clinometer>
If the two "role" attributes match up the person would be using that
instrument. The value of role could be in any language. Any other
role value can just be used to identify "Water Boy", and "Tourist"
Just one solution,
-Paul
This archive was generated by hypermail 2b30 : Mon Apr 02 2001 - 18:00:01 CEST