<bookevent>

The <bookevent> element contains detailed information about a custom book event, such as the type of event, which book revision was part of the event, who was responsible for the event, and when the event occurred.

Usage information

This element is appropriate for specialization if the existing <reviewed>, <edited>, or <approved> event type elements do not meet the needs of the organization.

Specialization hierarchy

The <bookevent> element is specialized from <data>. It is defined in the bookmap module.

Content model

<bookeventtype> ?, ( <organization> | <person> )*, <revisionid> ?, <started> ?, <completed> ?, <summary> ?, ( <data> | <sort-as> )*

In order
  1. Optional <bookeventtype>
  2. Zero or more
  3. Optional <revisionid>
  4. Optional <started>
  5. Optional <completed>
  6. Optional <summary>
  7. Zero or more
    • <data>
    • <sort-as>

Attributes

The following attributes are available on this element: data-element attributes, link-relationship attributes, and universal attributes.

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

@datatype (data-element attributes)
Specifies the type of data contained in the @value attribute or within the <data> element. A typical use of @datatype will be the identifying URI for an XML Schema datatype.
@format (link-relationship attributes)
Specifies the format of the resource that is referenced. See STUB CONTENT for detailed information on supported values and processing implications.
@href (link-relationship attributes)
Specifies a reference to a resource. See STUB CONTENT for detailed information on supported values and processing implications.
@name (data-element attributes)
Defines a unique name for the object.
@scope (link-relationship attributes)
Specifies the closeness of the relationship between the current document and the referenced resource. The following values are valid: local, peer, external, and -dita-use-conref-target.

See STUB CONTENT for detailed information on supported values and processing implications.

@type (link-relationship attributes)
Describes the target of a reference. See STUB CONTENT for detailed information on supported values and processing implications.
@value (data-element attributes)
Specifies a value associated with the current property or element.

Example

This section is non-normative.

The following code sample shows how the <bookevent> element can be used to specify that the book was indexed and when indexing was completed:


<bookmeta>
   <bookchangehistory>
      <bookevent>
         <bookeventtype name="indexed"/>
         <completed><month>09</month><year>2022</year></completed>
      </bookevent>
   </bookchangehistory>
</bookmeta>