I need your help with an important question for me and I would be very greatful for your opinions on this subject. The question is not so much technical, but more a reflection on the best way to proceed.
I’ve done an unique xml (a rather big one) file which contains the transcriptions of two manuscripts. Now I want to propose 3 different ways of displaying these transcriptions in html :
- one transcription on the left side of the screen and the other on the right side (in order to display and highlight differences between the manuscripts)
- only one transcription on the screen (text A)
- only the other transcription on the screen (text B)
My questions are : can I use this unique file in order to display these 3 different modes ? I’m thinking of using « data islands » in html. And if it is possible, is that the best way to proceed ?
Or should I transform this unique file into two files (one which contains only text A and another for the text B) ? And then use data islands from these two files for the first display of the two manuscripts ?
Or is there a better way to proceed ?
For those of you who wants to have a look at my unique file, this is an example :
<?xml version="1.0" encoding="UTF-8"?><tei>
<teiheader/>
<text>
<body>
<div type="text">
<w lemma="this" type="adv."><app><rdg wit="#A">this</rdg><rdg wit="#B">that</rdg></app>this</w>
<w lemma="is" type="subst. fém."><app><rdg wit="#A">is</rdg><rdg wit="#B">is</rdg></app>is</w>
<w lemma="a" type="vparpp"><app><rdg wit="#A">a</rdg><rdg wit="#B">a</rdg></app>a</w>
<w lemma="test" type="ponfrt"><app><rdg wit="#A">test</rdg><rdg wit="#B">try</rdg></app>test</w>
</div>
</body>
</text>
</tei>
Thank you so much for your attention and your suggestions. Micha