p.book.person.generation

Table of Contents

Syntax #

p.book.person.generation

Purpose #

The p.book.person.generation annotation is used to tag an element as being a person’s generation indicator. This includes name suffixes such as Jr., Sr., III, etc. This annotation applies a tag which adds the element to the DITA bookmap’s metadata.

Example #

The following is an example of a time when you might want to use the annotation

 

The following is an example of a rule that will apply the annotation

The following is the DITA XML output for the rule:

<personname>

<honorific>Sir</honorific>

<firstname>John</firstname>

<middlename>Leroy</middlename>

<lastname>Jenkins</lastname>

 <generationidentifier>III</generationidentifier>

</personname>