Skip to main content

 PSML

A complete reference of PageSeeder's markup language PSML

<fragments>

Summary

The <fragments> element is a container for fragments on non-PSML documents.

This element can only be used when document level="metadata".

Usage context

Element categorystructure
PSML levelmetadata
Permitted content<fragment> <media-fragment> <properties-fragment> <xref-fragment>
Permitted parent<document>
HTML equivalent
OpenXML equivalent

Attributes

This element includes the following attributes:

NameTypeRequiredDescription
overwritebooleannoWhether or not the fragments can be overwritten on an upload. If false only new fragments are added (default true).

Examples

Schema

XML Schema

<xs:element  name="fragments">
  <xs:complexType>
    <xs:choice minOccurs="1" maxOccurs="unbounded">
      <xs:element ref="fragment"            minOccurs="0"/>
      <xs:element ref="media-fragment"      minOccurs="0"/>
      <xs:element ref="xref-fragment"       minOccurs="0"/>
      <xs:element ref="properties-fragment" minOccurs="0"/>
    </xs:choice>
  </xs:complexType>
</xs:element>

Relax schema

element fragments {
   (element fragment |  element media-fragment |
    element properties-fragment | xref-fragment)+
}

Compatibility

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

See also

Created on , last edited on