tsd:objectRef

Status

Purpose This element enables the creation of object references that are used for joining doctypes (similarly to a "JOIN" operation in SQL).
Parent element tsd:native
Child elements tsd:collectionRef, tsd:dereference, tsd:accessPredicate
Attributes None

Example

This example illustrates the use of the tsd:objectRef element:

<xs:element name = "address">
  <xs:annotation>
    <xs:appinfo>
      <tsd:elementInfo>
        <tsd:physical>
          <tsd:native>
            <tsd:objectRef>
              <tsd:collectionRef>Customers</tsd:collectionRef>
              <tsd:accessPredicate operator = "=">
                <tsd:nodeRef>/Customer/CustomerNo</tsd:nodeRef>
              </tsd:accessPredicate>
            </tsd:objectRef>
          </tsd:native>
        </tsd:physical>
      </tsd:elementInfo>
    </xs:appinfo>
  </xs:annotation>
  .
  .
  .
</xs:element>

The tsd:objectRef element is only interpreted by the Tamino X-Query processor. In Tamino XQuery the user is able to specify the join within the query by himself.