Hi Jenn,
Riley, Jenn schrieb:
> Along the same lines, is the following the best way to refer to a specific section of a TEI file, where milestone1 and milestone2 refer to elements in the TEI with id attributes having those values, respectively?
First I suggest, you make sure, that this is exactly what you want.
There are some problems with TEI files as they only incorporate a single
structure - usually the logical one. Of course you can point to the
"area" in the xml document which represents the contents of a page -
that's exactly how we are doing it as well. But you should be aware,
what you want to do with this area. Just pointing to elements with a
given ID might not even give you any well-formed XML between those two
elements. No way to snap the content out of the TEI file, parse it,
convert it with an XSLT etc.
In case you would want to do this, you need very special TEI files -
with most TEI files I have seen you would not be able to do this. It
would e.g. require to split paragraphs, which reside on two pages (over
a page break) into two paragraphs. It would mean that you never point to
sections, which have a starting <div> but a the according clsing
</div> on another page etc.
> This came up on a different list yesterday and this was my first pass at the problem, but something's nagging at me that this isn't the best solution:
>
It is the best solution you could currently do. But I also think, that
there might be some work left for a potential working group on METS -
TEI integration finding all the pitfalls... And this really depends on
what you want to do with the METS and the TEI and which technology you
want to use...
Ciao
Markus
|