Grouped cross-references within entries
For cross-reference grouped together within seperate sections create a new section.
e/section[@role="crossRef"]
|
EXR |
Entry cross-reference section |
Capture inline sets of type=2
See...
cross-references as normal within the sense they appear using xrefGrp tags.
Example
Becomes
<e id="acref-9780195123456-e-0355" doi="10.1093/acref/9780195123456.013.0355">
<headwordGroup>... </headwordGroup>
<section role="main"><textMatter>
<div1>
<p>... </p>
</div1></textMatter>
</section>
<section role="authors"><textMatter>
<p>
<nameGrp foreNames="Brent" mainName="Blackwelder">Brent Blackwelder</nameGrp>
</p></textMatter>
</section>
<section role="crossRef"><textMatter>
<p>
<xrefGrp>
<i>See also: </i>
<xref id="acref-9780195123456-e-0355-xref-9" ref="acref-9780195123456-e-0345" type="2">
<nameGrp foreNames="David" mainName="Brower">Brower,
David</nameGrp>
</xref>; <xref id="acref-9780195123456-e-0355-xref-10" ref="acref-9780195123456-e-0349" type="2">Salvadoran Reflection on Religion,
Rights, and Nature</xref>. </xrefGrp>
</p></textMatter>
</section>
</e>
Cross-references sections within entries (See...
)
Where a sense within an entry has a specific “See also...” section of links, capture them within that sense using the appropriate level of div[1-7,N] with the attribute role="crossRef".
//div[1-7,N][@role="crossRef"]
Example:
<section role="main">
<textMatter><div1>
<p>...</p>
<div2 role="crossRef">
<p>
<xrefGrp>
<i>See:</i>
<xref ref="" type="2">
<nameGrp foreNames="Fred" mainName="Smith">Smith, Fred</nameGrp>
</xref>.</xrefGrp>
</p>
</div2></div1><div1>
<p>...</p>
<div2 role="crossRef">
<p>
<xrefGrp>
<i>See: </i>
<xref ref="" type="2">
<nameGrp foreNames="John" mainName="Brown">Brown, John</nameGrp>
</xref>.</xrefGrp>
</p>
</div2></div1>
</textMatter>
</section>