PSML

A complete reference of PageSeeder's markup language PSML

<compare>

Summary

Details of previous fragment content if different from current. Only appears when comparing documents e.g. using the Ant task:

<ps:export ... compareto="1.0"/>

INFORMATIONAL - ignored by upload.

Usage context

Element categorymetadata
PSML levelprocessed
Permitted content<labels> <content> <diff>
Permitted parent<locator>
HTML equivalentno equivalent
OpenXML equivalentno equivalent
PSStandard equivalent

Attributes

No attributes.

Examples

<locator id="363" fragment="4" editid="8324" modified="2014-01-10T15:30:54+11:00">
  <compare>
    <labels>oldlabel1,oldlabel2</labels>
    <content>
      <fragment id="4"><para>Old content</para></fragment>
    </content>
  </compare>
</locator>

Schema

XML Schema

<xs:element name="compare">
   <xs:complexType mixed="true">
      <xs:sequence>
        <xs:element ref="labels" minOccurs="0"/>
        <xs:element ref="content"/>
        <xs:element ref="diff" minOccurs="0"/>
      </xs:sequence>
   </xs:complexType>
</xs:element>

Relax Schema

element compare {
   element labels?,
   element content,
   element diff?
}

 

Compatibility

This element was introduced in PSML Beta 7 and is only supported from PageSeeder 5.6.

See also

Related element <compareto>

Created on , last edited on