[tei-council] kill the classes

Lou Burnard lou.burnard at retired.ox.ac.uk
Mon May 6 10:26:41 EDT 2013


I'm back with the old chestnut of how to define a really really minimal 
ODD... in particular, how to suppress all but a few of the global 
attributes. Let's say I want to suppress @ana and @corresp considering 
them both a snare and a delusion.

My first thought was to say <moduleRef key="tei" 
except="att.global.linking att.global.analytic"/> since that's where 
these suckers are declared. That doesn't work though, presumably because 
the declarations in that module are just "for show", so that they can be 
referenced from att.global without everything breaking in dtd-land.

  My second thought was to say <moduleRef key="analysis" 
except="att.global.analytic"/> and <moduleRef key="linking" 
except="att.global.linking"/> but that doesnt cut it either
so maybe @except only looks at element declarations. My third thought 
was to try just deleting the class  : <classSpec type="atts" 
module="linking" ident="att.global.linking" mode="delete"/>
That did it. Though it seems a bit, um, heavy...

But shouldn't the other method have worked?








More information about the tei-council mailing list