---
title: p.book.organization.addressdetails
description: "## Syntax **p.book.organization.addressdetails**   ## Purpose The p.book.organization.addressdetails annotation is used to tag an element as containing the address of a company or other organization’s street address. This element contains , , , and elements to form a full street…"
url: "https://www.stilo.com/docs/migrate/prolog/p-book-organization-addressdetails/"
updated: "2023-12-04"
category: Annotations / Prolog
tags:
  - Annotations
---

# p.book.organization.addressdetails

## Syntax

**p.book.organization.addressdetails**

 

## Purpose

The p.book.organization.addressdetails annotation is used to tag an element as containing the address of a company or other organization’s street address. This element contains <thoroughfare>, <locality>, <administrativearea>, and <country> elements to form a full street address.

Applying this annotation to an element not tagged with p.book.organization.thoroughfare, p.book.organization.locality, p.book.organization.administrativearea, or p.book.organization.country will create a generic <data> element instead of <addressdetails>.

The use of this annotation is not required to create an <addressdetails> element in a book’s metadata. Applying the annotations p.book.organization.thoroughfare, p.book.organization.locality, p.book.organization.administrativearea, or p.book.organization.country will automatically create an <addressdetails> element.

## Examples

The following is an example of a time where you might want to use the p.book.organization.addressdetails annotation:

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

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

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

*Note: In this example, the paragraph is also tagged by a separate rule that applies the p.book.organization.thoroughfare annotation. This ensures that <addressdetails> tags are created instead of generic <data> tags.*

 

The following is an example of the DITA output you would get from this annotation.

 

<organizationinfo>

<addressdetails>440 Laurier Avenue West, Ottawa, Ontario, Canada</addressdetails>

</organizationinfo>

````
