Skip to main content

 Web service API

How to use PageSeeder's Web service API

<locator>

Summary

The <locator> element is used to display metadata information on a PSML fragment.

This is a lightweight element, which is not to be confused with the full Element <locator> used in PSML.

 

Usage context

Permitted content
Permitted parent<discussion>, <draft>

Attributes

This element includes the following attributes

NameTypeRequiredDescription
fragmentxs:stringyesThe fragment ID in the PSML document.

Examples

<locator fragment="4" />

Schema

XML Schema

<xs:element name="locator" type="locator"/>

<xs:complexType name="locator">
  <xs:attribute name="fragment" type="fragment-id" use="required"/>
</xs:complexType>

<xs:simpleType name="fragment-id">
  <xs:restriction base="xs:string">
    <xs:pattern value="[a-zA-Z0-9_\-\.]+"/>
  </xs:restriction>
</xs:simpleType>

Relax Schema

element locator {
  attribute fragment { xs:string }
}

Compatibility

No change since initial API release.

See also

Created on , last edited on