[tei-council] working with translation

Sebastian Rahtz sebastian.rahtz at it.ox.ac.uk
Thu Oct 24 03:45:27 EDT 2013


On 24 Oct 2013, at 00:54, Martin Holmes <mholmes at uvic.ca>
 wrote:

> In the context of e.g. attDef:
> 
> sum(for $e in (desc|gloss|remarks) return count($e/preceding-sibling::*[local-name() = local-name($e)][@xml:lang=$e/@xml:lang])) gt 0
> 
Cool! There's a six pack of Tunnocks caramel wafers for whoever embeds that in a <constraint> in the
relevant ODD file(s).  Extra teacakes if you can get an error report which says _which_ element is duplicated

--
Sebastian Rahtz      
Director (Research) of Academic IT
University of Oxford IT Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431



More information about the tei-council mailing list