Cross-References with paragraph and section ids
For XML-first titles, where the Section IDs have been indicated on the title passport, use the paragraph and section id workflow for indexing and cross references within the text.
Example Title Passport
Add a milestone element as the first child element of paragraphs
identified by paragraph ids (C1, C1.S1, C1.P1) in the manuscript. For ids at the chapter or
division level, include this in the titleGroup/title/p. For ids at the
paragraph level, include this as the first element in the paragraph.
//chapter/titleGroup/title/p
//*[name()[contains(., 'div')]]/titleGroup/title/p
//p
Give the milestone element a unique id attribute by
following the instructions in the TCIs for id attribute capture here: IDs and DOIs. Capture the value of the unique section or paragraph id number
in the num attribute. Capture the unit attribute with value
para-id
.
When the XML index is generated the xref element must contain the page number and the ref attribute must point to the corresponding para-id milestone id attribute.
Example XML:
<chapter id="med-9780199547739-chapter-1" doi="10.1093/med/9780199547739.003.0001">
<titleGroup><title>
<p>
<milestone id="med-9780199547739-chapter-1-milestone-1" unit="para-id" num="C1"/>
<enumerator>Chapter 1</enumerator> Introduction</p></title>
</titleGroup>
<textMatter><div1 id="med-9780199547739-chapter-1-div1-346" role="prelim">
<p>
<milestone id="med-9780199547739-chapter-1-milestone-2" unit="para-id" num="C1.P1"/>
What is infectious disease epidemiology?</p>
<p>
<milestone id="med-9780199547739-chapter-1-milestone-3" unit="para-id" num="C1.P2"/>
How is infectious disease epidemiology different from non-infectious disease
epidemiology?</p></div1><div1 id="med-9780199547739-chapter-1-div1-347">
<titleGroup>
<title>
<p>
<milestone id="med-9780199547739-chapter-1-milestone-4" unit="para-id" num="C1.S1"/>Medical Ethics</p>
</title>
</titleGroup>
<p>
<milestone id="med-9780199547739-chapter-1-milestone-5" unit="para-id" num="C1.P2"/>Epidemiology provides the tools to understand why and how infections spread.</p></div1>
</textMatter>
</chapter>
Index cross reference:
<indexItem1 id="med-9780199547739-indexItem1-4">
<iHeadword>epidemiology</iHeadword>
<xrefGrp>
<pageNum pageId="66">
<xref ref="med-9780199547739-chapter-1-milestone-4">66</xref>
</pageNum>
</xrefGrp>
</indexItem1>