I'm having to deal for the first time with references that will
address locations in XML files external to the current document. (The
situation is a digitized version of a 6-volume printed work, where
each volume will exist as a separate XML file; I need to handle
cross-references from one volume to another.) I have a couple of
beginner's questions.
1. What is the proper format of the entity declaration for the
external document? Suppose Volume 1 is in file "vol1.xml"; would
this be the right sort of declaration to use the files for other
volumes?
<!NOTATION xml PUBLIC "someplace"> <!-- value for 'someplace'? -->
<!ENTITY vol1 SYSTEM 'vol1.xml' NDATA xml>
(note that in the printed TEI P4 guidelines, sec. 14.2.3 at the top
of p. 366, there's a sample declaration of a 'dunciad' element
lacking the NDATA portion--this is an error, no? My parser
complains that "xml" is not an unparsed element in this case.)
2. Then would this be the proper form of a reference to a particular
note in that volume, assuming that note has an id=V1P374n2 ?
<note>See above <xref doc="vol1" from="id (V1P374n2)">1:374 n2.</note>
Thanks in advance for guidance,
David
--
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/
|