<revisionid>

The <revisionid> element specifies the revision of the book.

Processing expectations

A processor determines how or whether the revision level is displayed. Common methods include using a dash, for example "-01", or a period, such as ".01".

Specialization hierarchy

The <revisionid> element is specialized from <ph>. It is defined in the bookmap module.

Content model

(Text | <keyword> | <markupname> | <apiname> | <option> | <parmname> | <cmdname> | <msgnum> | <varname> | <wintitle> | <numcharref> | <parameterentity> | <textentity> | <xmlatt> | <xmlelement> | <xmlnsname> | <xmlpi> )*

Attributes

The following attributes are available on this element: universal attributes and @keyref.

The following attributes are available on this element: universal attributes and the attributes defined below.

@keyref
Specifies a key name that acts as a redirectable reference based on a key definition within a map. See STUB CONTENT for information on using this attribute.

For HDITA, the equivalent of @keyref is @data-keyref

Example

This section is non-normative.

The following code sample shows how the <revisionid> element can be used to specify the book revision that was published and the revisions that were edited:

<bookmeta>
  <publisherinformation>
    <organization>NY Publishing</organization>
    <printlocation>United States of America</printlocation>
    <published>
      <revisionid>2</revisionid>
      <completed><month>02</month><year>2023</year></completed>
    </published>
  </publisherinformation>
  <bookchangehistory>
    <edited>
      <revisionid>1</revisionid>
      <person>Joe T. Editor</person>
      <completed><year>2020</year><month>03</month><day>15</day></completed>
    </edited>
    <edited>
      <revisionid>2</revisionid>
      <person>Joe T. Editor</person>
      <completed><year>2023</year><month>06</month><day>30</day></completed>
    </edited>
  </bookchangehistory>
</bookmeta>