James Cummings
Newcastle University
james.cummings@newcastle.ac.uk
@jamescummings
TEI 2018
“It is a trite but true observation, that examples work more forcibly on the mind than precepts”
Henry Fielding, The History of the adventures of
Joseph Andrews and his friend Mr Abraham Adams, 1742
My TEI2018 suggestion:
This idea is still only a theoretical consideration, and the costs and benefits would need to be carefully weighed up.
If we accept that highlighting parts of existing or new XML examples is reasonable there are different potential levels:
<rendition scheme="css"
match="string-range(//egXML[@xml:id='example1'], 56, 68)">
font-weight: bold;
</rendition>
<rendition scheme="css"
selector="egXML[xml:id='example1']"
match=".//persName[1]/@ref/data()">
background-color: #336699;
</rendition>
<egXML xmlns="http://www.tei-c.org/ns/Examples">
<p>
Is this idea of
<persName
<hi xmlns="http://www.tei-c.org/ns/1.0" rend="bg-shade">
ref="#JC"
</hi>>
James Cummings</persName>
overkill?
</p>
</egXML>
James Cummings
Newcastle University
james.cummings@newcastle.ac.uk
@jamescummings