tsd:native

Purpose This element contains physical information on indexing and object referencing, i.e. linking of different elements.
Parent element tsd:physical
Child elements tsd:index; tsd:objectRef
Attributes None

Example 1

This example demonstrates the use of tsd:native to define a standard index:

<tsd:attribute name="width">
  <tsd:attributeInfo>
    <tsd:physical>
      <tsd:native>
        <tsd:index>
          <tsd:standard/>
        </tsd:index>
      </tsd:native>
    </tsd:physical>
  </tsd:attributeInfo>
</tsd:attribute>

Example 2

This is an example of native storage using object references:

<xs:element name="address">
  <xs:annotation>
    <xs:appinfo>
      <tsd:elementInfo>
        <tsd:logical>
          .
          .
          .
        </tsd:logical>
        <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>