Skip to main content

 Element reference

PSML elements from <author> to <xref>

<version>

Summary

A version of the document.

This element is informational (ignored by upload).

Usage context

Element categorymetadata
PSML levelmetadata
Permitted content<description> <author> <labels>
Permitted parent<versions>
HTML equivalentno equivalent
OpenXML equivalent

Attributes

This element includes the following attributes:

NameTypeRequiredDescription
createdxs:dateTimenoThe creation date of the release
idxs:longnoThe ID of the release
namexs:stringnoThe version (for example, 0.01)
publicationidpublication-idnoThe 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="assignedto" 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 assignedto?,
   element labels?
}

Compatibility

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

Created on , last edited on