id Document Internal Identifier

Unique internal identifier of an element; allows element to be cross-referenced (made into a link). Value must be unique across a document, not just for an element type.

Usage/Remarks

The ID and IDREF attribute values form a primitive reference mechanism for XML that allows internal linking, for example, from a reference in the text to a figure or a table. As another example, when an @id attribute has been used on a <glyph-data> element, that identifier can be referenced by an IDREF-style attribute on a <glyph-ref> element, so that the full glyph data can be pointed to and need not be repeated every time the character is used.
An identifier string is typically 1-32 characters in length and must start with a letter of the alphabet. (It is an XML rule that identifiers may not start with a digit.)
External Identifiers
This attribute holds an internal document identifier that can be used by software to perform a simple link. It should not be confused with elements such as <book-id>, <contrib-id>, and <institution-id> that are used to hold externally defined identifiers such as a DOI (for the book id), an ORCID personal identifier (for the contributor id), or a Ringgold identifier (for an institution id).
REQUIRED on elements: <overline-start>, <target>, <underline-start>
Value Meaning
An XML identifier (ID) A unique identifier for the element. An XML parser can verify that an IDREF-style attribute pointing to one of these is pointing to a valid ID.
Restriction @id is required; it must be provided if the element is used.
OPTIONAL on many elements; click for list and usage

<abbrev>, <abstract>, <ack>, <addr-line>, <address>, <aff>, <aff-alternatives>, <ali:free_to_read>, <ali:license_ref>, <alt-text>, <alt-title>, <alternatives>, <annotation>, <anonymous>, <answer>, <answer-set>, <app>, <app-group>, <array>, <article-title>, <attrib>, <author-comment>, <author-notes>, <award-desc>, <award-group>, <award-id>, <award-name>, <back>, <bio>, <body>, <bold>, <book>, <book-app>, <book-app-group>, <book-back>, <book-body>, <book-count>, <book-equation-count>, <book-fig-count>, <book-id>, <book-meta>, <book-page-count>, <book-part>, <book-part-id>, <book-part-meta>, <book-part-wrapper>, <book-ref-count>, <book-table-count>, <book-title>, <book-title-group>, <book-volume-id>, <book-volume-number>, <book-word-count>, <boxed-text>, <break>, <caption>, <chapter-title>, <chem-struct>, <chem-struct-wrap>, <citation-alternatives>, <city>, <code>, <col>, <colgroup>, <collab>, <collab-alternatives>, <collection-id>, <collection-meta>, <comment>, <compound-kwd>, <compound-kwd-part>, <compound-subject>, <compound-subject-part>, <conf-acronym>, <conf-date>, <conf-loc>, <conf-name>, <conf-num>, <conf-sponsor>, <conf-theme>, <conference>, <content-language>, <content-version>, <content-version-alternatives>, <contrib>, <contrib-group>, <contrib-id>, <contributed-resource-group>, <copyright-holder>, <copyright-statement>, <copyright-year>, <corresp>, <country>, <counts>, <custom-meta>, <custom-meta-group>, <data-title>, <date>, <date-in-citation>, <day>, <dedication>, <def>, <def-head>, <def-item>, <def-list>, <degrees>, <disp-formula>, <disp-formula-group>, <disp-quote>, <edition>, <element-citation>, <elocation-id>, <email>, <era>, <etal>, <event>, <event-desc>, <explanation>, <ext-link>, <extended-by>, <fax>, <fig>, <fig-group>, <fixed-case>, <floats-group>, <fn>, <fn-group>, <foreword>, <fpage>, <front-matter>, <front-matter-part>, <funding-group>, <funding-source>, <funding-statement>, <given-names>, <glossary>, <glyph-data>, <glyph-ref>, <gov>, <graphic>, <hr>, <index>, <index-div>, <index-entry>, <index-group>, <index-term>, <index-term-range-end>, <index-title-group>, <inline-formula>, <inline-graphic>, <inline-media>, <inline-supplementary-material>, <institution>, <institution-id>, <institution-wrap>, <isbn>, <issn>, <issn-l>, <issue>, <issue-id>, <issue-part>, <issue-title>, <italic>, <journal-id>, <kwd>, <kwd-group>, <label>, <legend>, <license>, <license-p>, <list>, <list-item>, <long-desc>, <lpage>, <media>, <meta-name>, <meta-value>, <milestone-end>, <milestone-start>, <mixed-citation>, <monospace>, <month>, <name>, <name-alternatives>, <named-book-part-body>, <named-content>, <nav-pointer>, <nav-pointer-group>, <nested-kwd>, <note>, <notes>, <object-id>, <on-behalf-of>, <open-access>, <option>, <overline>, <overline-end>, <p>, <page-range>, <part-title>, <patent>, <permissions>, <person-group>, <phone>, <postal-code>, <preface>, <prefix>, <preformat>, <price>, <principal-award-recipient>, <principal-investigator>, <private-char>, <processing-meta>, <product>, <pub-date>, <pub-date-not-available>, <pub-history>, <pub-id>, <publisher>, <publisher-loc>, <publisher-name>, <question>, <question-preamble>, <question-wrap>, <question-wrap-group>, <rb>, <ref>, <ref-list>, <related-article>, <related-object>, <resource-group>, <resource-id>, <resource-name>, <resource-wrap>, <restricted-by>, <role>, <roman>, <rp>, <rt>, <ruby>, <sans-serif>, <sc>, <season>, <sec>, <sec-meta>, <see>, <see-also>, <see-also-entry>, <see-entry>, <self-uri>, <series>, <serif>, <sig>, <sig-block>, <size>, <source>, <speaker>, <speech>, <state>, <statement>, <std>, <std-organization>, <strike>, <string-conf>, <string-date>, <string-name>, <styled-content>, <sub>, <subj-group>, <subject>, <subtitle>, <suffix>, <sup>, <supplement>, <supplementary-material>, <support-description>, <support-group>, <support-source>, <surname>, <table>, <table-wrap>, <table-wrap-foot>, <table-wrap-group>, <tbody>, <td>, <term>, <term-head>, <tex-math>, <textual-form>, <tfoot>, <th>, <thead>, <title>, <title-group>, <toc>, <toc-div>, <toc-entry>, <toc-group>, <toc-title-group>, <tr>, <trans-abstract>, <trans-source>, <trans-subtitle>, <trans-title>, <trans-title-group>, <underline>, <underline-end>, <unstructured-kwd-group>, <uri>, <verse-group>, <verse-line>, <version>, <volume>, <volume-id>, <volume-in-collection>, <volume-number>, <volume-series>, <volume-title>, <x>, <xref>, <year>

Value Meaning
An XML identifier (ID) A unique identifier for the element. An XML parser can verify that an IDREF-style attribute pointing to one of these is pointing to a valid ID.
Restriction @id is an optional attribute; there is no default.
Tagged Samples
Figure identifier
...
<p>Allocation of tags to individual molecules is outlined in
 <xref ref-type="fig" rid="F2" alt="figure two">Fig.&#x00A0;2</xref>.
 First, the complete repertoire of tags ...</p>
<fig id="F2">...</fig>
...
Affiliation
...
<aff id="aff1">
 <institution-wrap>
  <institution-id institution-id-type="Ringgold">1812</institution-id>
  <institution content-type="university">Harvard University</institution>
 </institution-wrap>
</aff>
...
Award group
...
<award-group id="arda-511" award-type="contract">
 <funding-source country="US">ARDA ACQUAINT</funding-source>
 <principal-award-recipient>Berkeley</principal-award-recipient>
</award-group>
...
Footnote
...
<fn-group>
 <fn id="TF1-150"><p>Data not available for 1 trial.</p></fn>
 <fn id="TF1-151"><p>P&#x003C;0.05 (random effects model).</p></fn>
</fn-group>
...