Skip to main content

 PSML

A complete reference of PageSeeder's markup language PSML

<versions>

Summary

The list of existing versions, if any. INFORMATIONAL - ignored by upload.

Usage context

Element categorymetadata
PSML levelmetadata
Permitted content<version>
Permitted parent<documentinfo>
HTML equivalentno equivalent
OpenXML equivalent

Attributes

This element includes the following attributes:

NameTypeRequiredDescription
limitreachedbooleannoWhether the maximum number of versions has been returned

@limitreached

This flag is used to indicate whether the maximum number of versions that can be displayed has been reached. This limit is set to 100 and cannot be changed.

When set to true, the list of versions is incomplete and only shows the latest 100 versions. To list more versions use Service: /groups/{group}/uris/{uri}/versions [GET].

This attribute was introduced in PSML v1.4 in PageSeeder 6.00.

Examples

Schema

XML Schema

<xs:element name="versions">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="version"
                  maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="limitreached"
                  type="xs:boolean" 
                  use="optional"
                  default="false"/>
  </xs:complexType>
</xs:element>

Relax Schema

element versions {
  attribute limitreached { xs:boolean }?, 
  element version+
}

Compatibility

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

Created on , last edited on