tsd:nodeRef

Purpose

This element allows you to specify a path to the referenced node within an access predicate definition.

The doctype in the node reference must exist. For cyclic references, this means that one of the references must be defined via an "update schema". Deletion of the referenced nodes leads to the deletion of the object reference.

Parent element tsd:accessPredicate
Child elements None
Attributes None
Type xs:string

Example

This fragment illustrates the use of the tsd:nodeRef element of TSD:

<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>