Stephen SHIMANEK wrote:
> Is there any mechanism (as I've seen in some non-TEI XML documents) for
> simply stating that a given "mention" or "q" has the feature of the
> being represented phonetically?
> [<q xml:lang="fr" alphabet="ipa">trodœkɛstjɔ̃</q>]
> or <q rend="PRE [ POST ]" xml:lang="fr" alphabet="ipa">trodœkɛstjɔ̃</q>
> (I have not been able to track down an entity corresponding to the
> square bracket at W3schools, presumably we would need to define one in
> the header, as I imagine I can't just throw the symbol after PRE and
> POST like that.)
There are a number of non-TEI schemas (notably the CSS3 speech module and
SSML) which use an @alphabet or @phonetic-alphabet to specify the alphabet
it is written in (e.g. IPA).
To be honest, I would probably abuse the private-use nature of xml:lang to
append a writing system of IPA. While I know that isn't really accurate,
it is easy and simple to change to a better system later. Or
alternatively, record it in the @n or @type attributes if you are convinced
that this is a type of quoted text called 'ipa'?
However, thinking about it, why do you need to record that it is in IPA?
What is the end use that knowing that will be put to? I mean, Unicode is
Unicode, and IPA is separate from what language it is in (French). Is it
that you are worried about font support? Is it that the text is going to
be read aloud by machine? Or is it simply that you want it styled
differently in a print rendering? I think the reason you are doing this is
going to be useful in determining how you should mark it up.
Dr James Cummings, Oxford Text Archive, University of Oxford
James dot Cummings at oucs dot ox dot ac dot uk