---
title: p.data
description: "## Syntax **p.data**   ## Purpose The p.data annotation is used to tag an element as being a property of a topic. This tag is highly customizable and can be altered to be as specific as the topic requires. Content…"
url: "https://www.stilo.com/docs/migrate/book/p-data/"
updated: "2023-12-18"
category: Annotations / Book, Map and Bookmap
tags:
  - Annotations
---

# p.data

## Syntax

**p.data**

 

## Purpose

The p.data annotation is used to tag an element as being a property of a topic. This tag is highly customizable and can be altered to be as specific as the topic requires. Content tagged as data is contained within a prolog. Applying this annotation will tag content as a generic data element.

 

A more specialized form of the <data> element should be applied if possible.

## Examples

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.data0_.png)

 

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.data1_.png)

 

 

The following is the DITA XML output for the rule:

 

<prolog>

<author>John Writer</author>

<publisher>Stilo Corporation</publisher>

<metadata>

<category>Overview</category>

</metadata>

<data>Using Migrate is a simple process, as will be explained in this document.</data>

<data>Copyright 2023</data>

</prolog>
