A complete reference of PageSeeder's markup language PSML



The <properties-fragment> element is a fragment which only contains <property> elements.

Other kind of fragment elements:

Usage context

Element categorystructure
PSML levelportable
Permitted content<property>
Permitted parent<section>
HTML equivalentno equivalent
OpenXML equivalent
PSStandard equivalent<body>
(when <section format="pslabelvalues">)


This element includes the following attributes

idfragment-idyesThe fragment ID.
typefragment-typenoThe template type.
labelslabel-listnoA list of fragment labels


The fragment ID which must be unique within the document.


The type of properties fragment which may reflect the type of template.


A simple example:

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

A complex example:

<properties-fragment id="4" >
    <property name="title" title="Title" 
        value="Alice's Adventures in Wonderland"/>
    <property name="isbn" title="ISBN" value="0000000000001"/>
    <property name="author" title="Author" value="Lewis Caroll"/>
    <property name="language" title="Language">
    <property name="country" title="Country" value="Australia"/>
    <property name="available-date" datatype="date" title="Available date"
    <property name="related" count="n" datatype="xref" title="Related">
       <xref href="book4.psml" frag="default"/>
       <xref href="book7.psml" frag="default"/>


XML Schema

<xs:element name="properties-fragment">
         <xs:element ref="property" minOccurs="0" maxOccurs="unbounded"/>
      <xs:attribute name="id" type="fragment-id" use="required"/>
      <xs:attribute name="type" type="fragment-type"/>
      <xs:attribute name="labels" type="label-list"/>

Relax schema

element properties-fragment {
   attribute id { fragment-id },
   attribute type { fragment-type }?,
   attribute labels { label-list }?, 
   element property*


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

PS Standard XML

In the Standard Format, fragments are expressed using the <body> element and a different algorithm is used to compute their Fragment identifier. Support for the @pagebreak attribute has been dropped.

Section formats have been deprecated and new specialized fragments have been created. The PSML <properties-fragment> element corresponds to a Standard Format <body> element when the parent section has format "pslabelvalues".

There was no concept of property in the Standard Format so value pairs were expressed as inline labels (wrapped in paragraphs for validation purposes). This has been replaced in PSML by a <property> element.

See also

How to create a properties fragment tutorial

Created on , last edited on