Hi Sebastian,
thank you for your answer.
On 27.04.2011 12:53, Sebastian Rahtz wrote:
> On 27 Apr 2011, at 11:33, <[log in to unmask]> <[log in to unmask]> wrote:
>
>> I have another small question on that: If I use an external schema to
>> encode a formula or a table, do I also need to resort to the elements of
>> this schema in order to encode it's caption and/or title? Or can I pick
>> and choose, e.g. encode the formula itself with the elements of the
>> MathML schema or encode the rows, cells and columns of a table with the
>> elements of the CALS table model, but using <head> and <p> from the
>> TEI-schema to encode it's titles and/or captions?
> It's up to you.
>
> if you want to interleave MathML and TEI, putting <tei:p> inside MathML
> or CALS, or MathML inside CALS cells,
> that's theoretically fine. I don't think the TEI
> has too many views on the subject so far.
> HOWEVER, you'll be on your own if you want to make a schema
> which validates what you've done. It'll be far from easy.
> OK to make it work using the NVDL approach of validating islands
> of markup in their own right, but this is relatively advanced stuff.
I actually didn't want to go so far and making the elements of the
MathML namespace available within the <formula> element or the elements
of the CALS namespace within the <table> element and then again making
TEI-elements available within these schemas.
I thought more of something like this (example created with the TEI P5
Math schema):
<figure>
<formula notation="MathML">
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mi>ΞΎ</mi>
<mo>/</mo>
<msub>
<mi>I</mi>
<mrow>
<mn>0</mn>
</mrow>
</msub>
<mtext>Caption of the formula</mtext>
</math>
</formula>
<p>Caption of the formula</p>
</figure>
Since there are two ways of encoding title and/or captions of the
formula (using the MathML element mtext or the TEI element p) I wondered
which way is best to go or if the two are equally recommended.
> And of course you'll have to persuade processing software to Do The Right
> Thing with your interleaved XML. Don't expect (eg) my XSL to work :-}
>
> I have played about with recursive nesting for fun, but in real work I have
> not personally gone beyond an island of CALS or MathML within TEI
> (as opposed to an island of CALS which then includes TEI in cells).
Is it possible to access some these real work examples in which you use
CALS or MathML within a TEI-document?
Best regards, Matthias
|