[tei-council] Mode attribute for <classes>

Lou Burnard lou.burnard at oucs.ox.ac.uk
Mon Sep 3 12:07:23 EDT 2007


for the record, here's what I think we just agreed to investigate

1. Allow @mode on memberOf (the @key value acts as its unique identifier 
since within a single Spec, you can't be a member of the same class more 
than once)

2. Interpret @mode values on memberOf as follows

  not specified means mode=add
  add : means make this element a member of the class nominated if it 
isn't already and raise an error if it is
  change: doesn't mean anything so should probably raise an error
  delete : means remove this element from the class nominated if it is a 
member of it already and raise an error if it is not


Laurent Romary wrote:
> I would vote for this base line.
> 
> Le 3 sept. 07 à 17:50, Sebastian Rahtz a écrit :
> 
>> Lou and I, having wagged our chins, are vaguely thinking that adding 
>> @mode to
>> <memberOf> is the least worst thing to do. Leave <classes> alone, but 
>> allow
>> <memberOf mode="delete" key="att.global"/> to mean "remove me from the
>> att.global class".
>>
>> I don't like it, but I'd rather  deal with that than a mode on <classes>
>>
>> --Sebastian Rahtz      Information Manager, Oxford University 
>> Computing Services
>> 13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
>>
>> _______________________________________________
>> tei-council mailing list
>> tei-council at lists.village.Virginia.EDU
>> http://lists.village.Virginia.EDU/mailman/listinfo/tei-council
> 
> _______________________________________________
> tei-council mailing list
> tei-council at lists.village.Virginia.EDU
> http://lists.village.Virginia.EDU/mailman/listinfo/tei-council




More information about the tei-council mailing list