---
title: p.book.person.middlename
description: "## Syntax **p.book.person.middlename**   ## Purpose The p.book.person.middlename annotation is used to tag an element as being a person’s middle name or names. This annotation applies a tag which adds the element to the DITA bookmap’s metadata. ## Examples The…"
url: "https://www.stilo.com/docs/migrate/book/p-book-person-middlename/"
updated: "2023-12-18"
category: Annotations / Book, Map and Bookmap
tags:
  - Annotations
---

# p.book.person.middlename

## Syntax

**p.book.person.middlename**

 

## Purpose

The p.book.person.middlename annotation is used to tag an element as being a person’s middle name or names. This annotation applies a tag which adds the element to the DITA bookmap’s metadata.

## Examples

The following is an example of a time where you might want to use the annotations

![](https://www.stilo.com/wp-content/uploads/2023/10/stilo-dita-xml-annotation-p.book_.person.middlename0.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.middlename1.png)

The following is the DITA XML output for the previous rule:

<personname>

<honorific>Sir</honorific>

<firstname>John</firstname>

**    <middlename>Leroy</middlename>**

<lastname>Jenkins</lastname>

<generationidentifier>III</generationidentifier>

</personname>
