[tei-council] rendition, rend, and style

Sebastian Rahtz sebastian.rahtz at oucs.ox.ac.uk
Wed May 16 08:53:22 EDT 2007


John A. Walsh wrote:
>
> The problem is with a fixed value list is that you can't combine 
> rendition styles.  With the pointers (note the plural) method, I can 
> have <rendition> elements defining italic, bold, underline, and center 
> styles.  If my source includes an element that is all of these, I can 
> do rend="#i #b #u #center".  With the fixed value list, I'd have to 
> have an unwieldy number of values to accommodate all the combinations.
>
but  the datatype of rend is "multiple tokens"[1], so you can say 
rend="a b c" and each of a, b and
c will be checked against the list. honest.


[1] <datatype maxOccurs="unbounded">
        <rng:ref xmlns:rng="http://relaxng.org/ns/structure/1.0" 
name="data.word"/>
      </datatype>

-- 
Sebastian Rahtz      
Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431




More information about the tei-council mailing list