---
title: prolog.resourceid
description: "## Syntax **prolog.resourceid**((**id**=IDvalue)(**conref**=conref value)(**appname**=name of application)) IDvalue value of the resource ID conref (optional) a URI reference to a DITA element appname (optional) name of application using the resource ID ## Purpose The prolog.resourceid() annotation is used to assign an…"
url: "https://www.stilo.com/docs/migrate/prolog/prolog-resourceid/"
updated: "2021-04-27"
category: Annotations / Prolog
tags:
  - Annotations
---

# prolog.resourceid

## Syntax

**prolog.resourceid**((**id**=IDvalue)(**conref**=conref value)(**appname**=name of application))

IDvalue

value of the resource ID

conref (optional)

a URI reference to a DITA element

appname (optional)

name of application using the resource ID

## Purpose

The prolog.resourceid() annotation is used to assign an ID to a topic that will be used by an application requiring a specific format, and that cannot use the regular topic ID element. The resource ID must be unique.

This is an example of what a resource ID text string may look like in your document.

[![Source document text](https://www.stilo.com/wp-content/uploads/2021/03/prolog-resourceid-source-document.png)](https://www.stilo.com/wp-content/uploads/2021/03/prolog-resourceid-source-document.png)

The following is an example of what the annotation may look like when filled out.

[![Rule for prolog.resourceid()](https://www.stilo.com/wp-content/uploads/2021/03/prolog-resourceid-rule.png)](https://www.stilo.com/wp-content/uploads/2021/03/prolog-resourceid-rule.png)

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

```
<prolog>
  <resourceid id="QTno875351.5" conref="QuickTimeKey" appname="QuickTime"/>
</prolog>
```
