---
title: "p.book.product-version"
description: "## Syntax **p.book.product-version(**version=\\[number];release=\\[number];modification=\\[number]**)** **            version** is the version number of the product. This argument is required. **release** is the release number of the product. This argument is optional. **modification** is the modification number of the product. This argument is optional.…"
url: "https://www.stilo.com/docs/migrate/prolog/p-book-product-version/"
updated: "2023-12-04"
category: Annotations / Prolog
tags:
  - Annotations
---

# p.book.product-version

## Syntax

**p.book.product-version(**version=\[number];release=\[number];modification=\[number]**)**

**            version** is the version number of the product. This argument is required.

**release** is the release number of the product. This argument is optional.

**modification** is the modification number of the product. This argument is optional.

 

The version, release, and modification arguments can be inserted directly or as variables.

 

## Purpose

The p.book.product-version annotation is used to tag an element as being the version number of the product. This number can appear in a variety of formats, but it must contain a minimum of one digit (e.g. Version 1) and a maximum of three separate numbers (e.g. Version 1.4.12). These numbers can appear in any format.

Content annotated with p.book.product-version will appear in the bookmap file’s metadata.

## Examples

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

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

 

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

 

<vrmlist>

<vrm version="5" release="01" modification="055"/>

</vrmlist>

````
