When assigning ID values or referencing them with IDREF(S) attributes, the following prefixes should be used.
Note: # means one or more digits
| element | ID requirement | ID value | explanation |
|---|---|---|---|
| address | optional | a# | An address. Don't confuse with an#, an answer. |
| answer | optional | an# | An answer. Don't confuse with a#, an address. |
| comment | mandatory | q# | A query or comment intended for the author of the document. Don't confuse with qt#, a typesetter request or qu#, a question. |
| comment | mandatory | qt# | A request intended for the typesetter of the document. Don't confuse with q#, an author query or qu#, a question. |
| correspondent | optional | c# | The correspondence author |
| definitionpair | optional | d# | a term and its definition |
| documentid | mandatory | # | |
| event | optional | e# | An event |
| externallink | optional | # | |
| feedback | optional | fe# | Feedback in a question and answer group. Don't confuse with f# a figure. |
| file | optional | object id number_source | |
| filegroup | mandatory | object id number_source | |
| footnote | optional | fn# | |
| formula | optional | m# | Unnumbered formula should have mu# prefixes. |
| heading | optional | h# | A heading. Don't confuse with hi#, a hint in a question and answer group. |
| hint | optional | hi# | A hint in a question and answer group. Don't confuse with h#, a heading. |
| indexentry | mandatory | i# | |
| insitu | mandatory | ||
| layeredtext | optional | la# | |
| legend | optional | ||
| listgroup | optional | l# | |
| object | mandatory | object id number | |
| objectsubgroup | mandatory | ||
| questiongroup | optional | qg# | A question and answer group. Don't confuse with q#, a query or qu#, a question. |
| question | optional | qu# | A question in a question and answer group. Don't confuse with q#, a query. |
| reference | optional | b# | |
| section | required | s# | |
| span | mandatory | a# in address f#_legend in object legends |
|
| subsection | mandatory | ss# | |
| table | optional | t# | |
| tbl | optional | Not used | |
| tgroup | optional | Not used | |
| tocentry | optional | te# |