---
title: "p.map.product-version"
description: "## Syntax **p.map.product-version** ## Purpose **p.map.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…"
url: "https://www.stilo.com/docs/migrate/task/p-map-product-version/"
updated: "2023-12-11"
category: Annotations / Task
tags:
  - Annotations
---

# p.map.product-version

## Syntax

**p.map.product-version**

## Purpose

**p.map.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 taken from the content.

## Example

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

![](https://www.stilo.com/wp-content/uploads/2023/12/stilo-dita-xml-annotation-s.variable-name0.png)

 

The following is an example of a rule that will apply the annotation

![](https://www.stilo.com/wp-content/uploads/2023/12/stilo-dita-xml-annotation-p.map_.product-version1.png)

The following is the DITA XML output for the rule:

<vrmlist>

<vrm version="1" release="22" modification="333"/>

</vrmlist>
