<version>
Summary
This element is informational (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 | no | The creation date of the release |
id | xs:long | no | The ID of the release |
name | xs:string | no | The version (for example, 0.01) |
publicationid | publication-id | 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.
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
<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
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.