[tei-council] TD exemplifications
Lou Burnard
lou.burnard at retired.ox.ac.uk
Sat Jan 4 09:35:13 EST 2014
I'm making a pass through TD checking that what it says about ODD is
still in line with our current practice, and have stumbled across the
following old chestnut. How do you include an example of an example
(using <egXML>) ?
Consider the following:
<p>The <att>source</att> attribute may be used to indicate the source
from which an example is taken, typical by means of a pointer to an
entry in an associated bibliography, as in the following example:
<egXML xml:lang="fr" xmlns="http://www.tei-c.org/ns/Examples">
<![CDATA[
<exemplum versionDate="2008-04-06" xml:lang="fr">
<p>L'element <gi>foreign</gi> s'applique également aux termes
considerés étrangers.</p>
<egXML xmlns="http://www.tei-c.org/ns/Examples"
source="#fr-ex-Queneau_Journ">
<p>Pendant ce temps-là, dans le bureau du rez- de-chaussée, les
secrétaires faisaient du
<foreign xml:lang="en">hulla-hoop</foreign>.</p>
</egXML>
</exemplum>
]]></egXML>
This is valid as it stands because of the (shudder) CDATA marked
section. Remove that however and you get a validity error for the inner
<egXML>.
Hmmm. I'm sure I understood this once. Maybe there's still too much
christmas pudding in my brain.
More information about the tei-council
mailing list