PSML

A complete reference of PageSeeder's markup language PSML

<version>

Summary

A version of the document.

This element is informational (ignored by upload).

Warning!

Versions in PageSeeder are being redesigned! Be aware that they are likely to change in the future.

Usage context

Element categorymetadata
PSML levelmetadata
Permitted content<description> <author> <labels>
Permitted parent<versions>
HTML equivalentno equivalent
OpenXML equivalent
PSStandard 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 (e.g. 0.01)

@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 with a PageSeeder instance but it is specific to that instance.

@name

The name given to that version.

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="status" type="xs:string" use="optional"/>
      <xs:attribute name="priority" type="xs:string" use="optional"/>
      <xs:attribute name="duedate" type="xs:string" use="optional"/>
    </xs:complexType>
  </xs:element>

Relax Schema

element version {
   attribute id { xs:long },
   attribute created { xs:dateTime },
   attribute name { text },
   attribute status { text }?,
   attribute priority { text }?,
   attribute duedate { xs:dateTime }?,
   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.

See also

Created on , last edited on