---
title: p.book.organization.lastname
description: "## Syntax **p.book.organization.lastname**   ## Purpose The p.book.organization.lastname annotation is used to tag an element as being the surname or family name of a person representing an organization. This annotation applies a tag which adds the element to the DITA…"
url: "https://www.stilo.com/docs/migrate/prolog/p-book-organization-lastname/"
updated: "2023-12-04"
category: Annotations / Prolog
tags:
  - Annotations
---

# p.book.organization.lastname

## Syntax

**p.book.organization.lastname**

 

## Purpose

The p.book.organization.lastname annotation is used to tag an element as being the surname or family name of a person representing an organization. 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 p.book.organization.lastname annotation:

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

*Note: the relevant paragraph has been marked in bold for this example. The paragraph is not bold in the source document.*

The following is an example of a rule that will apply p.book.organization.lastname:

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

The following is the DITA XML output for the previous rule (relevant portion in bold):

 

<organizationinfo>

<namedetails>

<personname>

<honorific>Sir</honorific>

<firstname>John</firstname>

<middlename>Leroy</middlename>

**<lastname>Jenkins</lastname>**

<generationidentifier>III</generationidentifier>

</personname>

</namedetails>

</organizationinfo>

````
