View Categories

p.data

< 1 min read

Table of Contents

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:

 

The following is an example of a time when you might want to use the annotation:

 

 

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>