---
title: "Element <version>"
source: https://dev.pageseeder.com/psml/elements/element-version.html
description: "PSML Element reference for <version>"
last_updated: 2026-08-07T17:09:54+10:00
tokens: ~610
---

# \<version\>

## Summary

A [version](../../reference/glossary/version.md) of the [document](../../reference/glossary/document.md).

This element is [informational](../universal_format/psml_upload.md) (ignored by upload).

## Usage context

| Element category | metadata |
| --- | --- |
| PSML level | metadata |
| Permitted content | `<description>` `<author>` `<labels>` |
| Permitted parent | `<versions>` |
| HTML equivalent | no equivalent |
| OpenXML equivalent |  |

## Attributes

This element includes the following attributes:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| created | [xs:dateTime](../datatypes/xml_schema_datatypes.md) | no | The creation date of the release |
| id | [xs:long](../datatypes/xml_schema_datatypes.md) | no | The ID of the release |
| name | [xs:string](../datatypes/xml_schema_datatypes.md) | no | The version (for example, 0.01) |
| publicationid | [publication-id](../datatypes/pageseeder_datatypes.md) | no | The ID of the publication |

### `@created`

The date the version was created in ISO 8601 date time format.

### `@id`

The ID of the underlying XLink corresponding to this version in PageSeeder.

> **Note:** The version ID is unique within a PageSeeder instance but it is specific to that instance.

### `@name`

The name given to that version.

### `@publicationid`

The user defined ID of the publication this version relates to – it can only contain letters, numbers, underscore and hyphen.

*Introduced in v1.0 of the PSML schema in PageSeeder v5.97.*

## Examples



## Schema

### XML Schema

```lang-xml
<xs:element name="version">
  <xs:complexType>
    <xs:all>
      <xs:element name="description" type="xs:string" minOccurs="0"/>
      <xs:element ref="author" minOccurs="0"/>
      <xs:element ref="labels" minOccurs="0"/>
    </xs:all>
    <xs:attribute name="id" type="xs:long"/>
    <xs:attribute name="created" type="xs:dateTime"/>
    <xs:attribute name="name" type="xs:string"/>
    <xs:attribute name="publicationid" type="publication-id"/>
   </xs:complexType>
</xs:element>
```

### Relax Schema

```lang-relax
element version {
   attribute id { xs:long },
   attribute created { xs:dateTime },
   attribute name { text },
   attribute publicationid,
   element description?,
   element author?,
   element labels?
}
```

## Compatibility

This element was introduced in the first draft of PSML and is well-supported from PageSeeder 5.1.

