Element identifiers (id attribute)
Add a unique id attribute value to any element where the id attribute is required. Within a document xref links use the id value as the target.
//@id
Root element ID format
For the root element (where this is not a partial capture), the id attribute value follows the format:
productID-documentID
Where:
-
productID - identifies the online service or publishing area the document belongs to. The Product specific TCI provides the value for
productID. -
documentID - identifies the document uniquely within the service or publishing area. For online
only content, OUP provide the
documentID. In the case of a book, this is the ISBN13, whereISBN13
means the 13-digit ISBN for a book.
Chapter/entry/article ID format
For chapter, e, miscMatter, bibliography, appendix, and indexList elements and their ancestors (for example mainText, part, frontMatter, or endMatter elements), the id attribute value follows the format:
productID-documentID-elementName-nn
ID format for other elementsbelow).
-
elementName - the name of the element that contains this identifier.
-
nn - a unique and sequential numeric value, that follows on from the preceding element with the same name.
ID format for other elements
For elements within chapter, e, miscMatter, bibliography, appendix, and indexList the id attribute value follows the format:
ancestorID-elementName-nn
Where:
-
ancestorID - represents the chapter, e, miscMatter, bibliography, appendix, or indexList ancestor of this element
Where present, do not include the namespace prefix, for example for
m:math use math.
<div2 id="acref-9780199279784-e-1-div2-1"/>
<xrefGrp>
<xref id="acref-9780199279784-e-1-xref-9" ref="acref-9780199279784-e-1-div2-1"/>
</xrefGrp>
<m:math xmlns:m="http://www.w3.org/1998/Math/MathML" id="oso-9780199279784-chapter-3-math-1"/>