occurrence Element

This element contains all of the information relating to a single occurrence. The element has the following syntax:

<tm:occurrence oid="OID">
  <tm:sourceLocators>
    <tm:locator href="URI"/>
  </tm:sourceLocators>
  <tm:type displayname="NAME" tref="OID" psi="PSI" />
  <tm:resourcedata> STRING </tm:resourcedata>
  <tm:resource href="URI"/>
  <tm:scope> ... </tm:scope>
</tm:occurrence>
tm:occurrence/@oid

Contains the unique object identifier of the occurrence. This attribute is OPTIONAL. It may be omitted when creating a new occurrence on a topic.

tm:occurrence/tm:sourceLocators

Contains a list of the source locators for this occurrence. This element is OPTIONAL.

tm:occurrence/tm:sourceLocators/tm:locator/@href

Contains a single source locator URI for this occurrence. This attribute is REQUIRED.

tm:occurrence/tm:type/@displayname

Contains a display label for the topic which defines the type of this occurrence. This attribute is OPTIONAL.

tm:occurrence/tm:type/@tref

Contains the unique object identifier of the topic which defines the type of this occurrence. This attribute is REQUIRED.

tm:occurrence/tm:type/@psi

References the topic which defines the type of this occurrence by a subject identifier of that topic. This attribute is OPTIONAL.

tm:occurrence/tm:resourcedata

Contains the resource data value for the occurrence. This element is OPTIONAL.

tm:occurrence/tm:resource

Specifies the resource locator for the occurrence. This element is OPTIONAL.

tm:occurrence/tm:resource/@href

Contains the resource locator URI for this occurrence. This attribute is REQUIRED.

tm:occurrence/tm:scope

Specifies the scope for this occurrence. This element is OPTIONAL.