PSML

A complete reference of PageSeeder's markup language PSML

<metadata>

Summary

The <metadata> element contains metadata properties for the document.

Note

This element is always overwritten when a PSML document is uploaded. There is currently no support for an overwrite="false" attribute here.

Usage context

Element categorymetadata
PSML levelportable
Permitted content<properties> <notes>
Permitted parent<document> <compareto>
HTML equivalentno equivalent
OpenXML equivalent
PSStandard equivalent

Attributes

This element includes the following attributes

NameTypeRequiredDescription
editidxs:longnoThe XLink ID for the latest edit
modifiedxs:dateTimenoThe last edit date

@editid

The ID of the latest edit. An XLink ID is unique within a PageSeeder instance. INFORMATIONAL - ignored by upload.

Note

This attribute value is specific to a PageSeeder server as it refers to the XLink representing the last edit.

@modified

The date this fragment was last modified. It corresponds to the date of the last modified XLink. INFORMATIONAL - ignored by upload.

Examples

<metadata>
  <properties>
    <property name="part-id" value="FY765A"/>
    <property name="part-category" value="Industrial"/>
  </properties>
</metadata>

Schema

XML Schema

  <xs:element name="metadata">
    <xs:complexType>
      <xs:all>
        <xs:element ref="properties"   minOccurs="0" />
        <xs:element ref="notes"        minOccurs="0" />
      </xs:all>
      <xs:attribute name="modified" type="xs:dateTime" />
      <xs:attribute name="editid" type="xs:long" />
    </xs:complexType>
  </xs:element>

 

Relax schema

element metadata {
   attribute modified { xs:dateTime },
   attribute editid { xs:long },
   element properties,
   element notes
}

Compatibility

This element was introduced in PSML beta 10 and is supported from PageSeeder 5.9.

See also

Created on , last edited on