Skip to main content

 Element reference

PSML elements from <author> to <xref>

<metadata>

Summary

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

  • This element is only overwritten when a PSML document is uploaded if the Overwrite metadata and document properties checkbox is selected under Upload options.
  • Metadata for a non-PSML file can only be modified when the file itself is uploaded with the corresponding PSML metadata document.

Usage context

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

Attributes

This element includes the following attributes:

NameTypeRequiredDescription
checkedxs:dateTimenoThe last date the URL metadata was checked (URLs only)
editidxs:longnoThe XLink ID for the latest edit
modifiedxs:dateTimenoThe last edit date

@checked

The last date the URL metadata properties were checked against the URL source (URLs only).
INFORMATIONAL - ignored by upload.

This attribute was introduced in PSML 1.3 in PageSeeder 5.99.

@editid

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

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="checked" type="xs:dateTime" />
    <xs:attribute  name="modified" type="xs:dateTime" />
    <xs:attribute  name="editid" type="xs:long" />
  </xs:complexType>
</xs:element>

Relax schema

element metadata {
   attribute checked { xs:dateTime },
   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.

Created on , last edited on