I need some help with xref in XML...
I create an ENTITY declaration in the DOCTYPE declaration
<!ENTITY doc SYSTEM "path.name">
I then create the extended reference
<xref doc="doc" from="ID (spot)"/>
upon validation an error message is generated indicating that "doc" is not
a data or subdocument entity.
<xref doc="&doc;" from="ID (spot)"/>
which of courses leads to problems when the general entity is expanded and
all those angled brackets from the TEI-conformant "doc" appear unescaped
as the value of the attribute.
Has anyone managed to get <xref> to work in XML without modifying the DTD
to change the attribute type from ENTITY to CDATA?
What am I missing here?
Francois Lachance, Scholar-at-large
per Interactivity ad Virtuality via Textuality