On Wed, 5 Jan 2005, Syd Bauman wrote:
> So even in cases
> where it is *very* unlikely that a <pb> would be inside the element
> extracted, you'd like to have software that told you what page it
> came from. So the preceding::pb sort of method is a must-have :-)
Ha. How did I guess that my query would create a TEI-L thread leading to
ontological debate and ending up in science fiction? I appreciate all
the thoughts on justification for various usage choices; we've started
out with a "put the <pb> where it falls" practice and will stick with
that as house style.
Meanwhile, I'll offer a bit of sample XML markup and XSLT code to
address the processing/retrieval issue. It's not really too hard to
locate milestone elements relative to container elements even when they
can fall inside or between those elements. Examples are here:
http://lister.ei.virginia.edu/~drs2n/pb-handling-example.html
This is only one approach.
--
David Sewell, Editorial and Technical Manager
Electronic Imprint, The University of Virginia Press
PO Box 400318, Charlottesville, VA 22904-4318 USA
Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903
Email: [log in to unmask] Tel: +1 434 924 9973
Web: http://www.ei.virginia.edu/
|