Skip to main content

 PSML

A complete reference of PageSeeder's markup language PSML

<fragmentinfo>

Summary

Metadata at the fragment level.

There is one locator per fragment in the document.

The different kind of fragment elements are the following:

Usage context

Element categorymetadata
PSML levelmetadata
Permitted content<locator>
Permitted parent<document>
HTML equivalentno equivalent
OpenXML equivalentno equivalent

Attributes

This element includes the following attributes

NameTypeRequiredDescription
structure-modifiedxs:dateTimenoThe last date that the document structure was modified

@structure-modified

The last date that the document structure was modified. For example when a section or fragment was moved or added. INFORMATIONAL - ignored by upload.

This attribute was introduced for PSML v1.3 in PageSeeder v5.99/

Examples

An example with locator showing the last modified date:

<fragmentinfo structure-modified="2015-05-21T11:12:18">
  <locator id="17"
           fragment="1"
           editid="70" 
           modified="2015-05-21T10:52:48"/>

  <locator id="58"
           fragment="2"
           editid="72" 
           modified="2015-05-21T10:53:19"/>
 
  <locator id="78"
           fragment="3"
           editid="39"
           modified="2013-12-29T16:38:20"/>
</fragmentinfo>

Schema

XML Schema

<xs:element name="fragmentinfo">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="locator" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

Relax Schema

element fragmentinfo {
   element locator+
}

Compatibility

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

The structure-modified attribute was introduced for PSML v1.3 in PageSeeder v5.99.

Created on , last edited on