[tei-council] <content> vs <mixedContent>

Sebastian Rahtz sebastian.rahtz at it.ox.ac.uk
Fri Oct 3 10:18:20 EDT 2014


No, really, folks this is mad.

Having two elements <content> and <mixedContent> which have more or less
identical semantics, and identical content models, is against natural law. This is what
attributes are for, to make that slight distinction, i.e. <content mixed=“true”> 
and <content mixed=“false”>

yes, of course I can change code like

<xsl:apply-templates mode="odd2odd-copy" select="tei:content”/>

to 

<xsl:apply-templates mode="odd2odd-copy" select=“tei:content|tei:mixContent”/>

passim, but its hideous to look at and confusing to maintain.
--
Sebastian Rahtz      
Director (Research) of Academic IT
University of Oxford IT Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431

Não sou nada.
Nunca serei nada.
Não posso querer ser nada.
À parte isso, tenho em mim todos os sonhos do mundo.



More information about the tei-council mailing list