---
title: p.book.person.generation
description: "## 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…"
url: "https://www.stilo.com/docs/migrate/book/p-book-person-generation/"
updated: "2023-12-11"
category: Annotations / Book, Map and Bookmap
tags:
  - Annotations
---

# p.book.person.generation

## 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

![](https://www.stilo.com/wp-content/uploads/2023/10/stilo-dita-xml-annotation-p.book_.person.generation0.png)

 

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

![](https://www.stilo.com/wp-content/uploads/2023/10/stilo-dita-xml-annotation-p.book_.person.generation1.png)

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>
