Tamino XML Server Version 9.7
 —  Tamino XML Schema Reference Guide  —

tsd:accessPredicate

This element can be used in two different contexts:

  1. In the context of tsd:objectRef:

    Purpose In the context of tsd:objectRef, tsd:accessPredicate specifies a simple access predicate to join another doctype via tsd:nodeRef with the value of the current node which can be used to define filter expressions. Exactly one tsd:accessPredicate element is needed per tsd:objectRef element.
    Parent element tsd:objectRef
    Child elements tsd:nodeRef, tsd:nodeParameter
    Attributes operator
    Type xs:complexType
    Attributes
    Name Type Description
    operator xs:string

    In the context of tsd:objectRef, the operator attribute allows the specification of an operator to apply in the context of the tsd:accessPredicate element. Valid values are:

    • =

    • !=

    • <

    • >

    • <=

    • >=

    Example

    This example shows the use of the tsd:accessPredicate element in the context of the tsd:objectRef element. An object reference is set up using /CustomerNo as a key:

    <tsd:objectRef>
      <tsd:collectionRef>Customers</tsd:collectionRef>
      <tsd:accessPredicate operator = "=">
        <tsd:nodeRef>/Customer/CustomerNo</tsd:nodeRef>
      </tsd:accessPredicate>
    </tsd:objectRef>
    
  2. In the context of tsd:subTreeSQL:

    Purpose In the context of tsd:subTreeSQL, this element specifies parameters to be used to build a "where" clause in retrieval expressions.
    Parent element tsd:subTreeSQL
    Child elements tsd:nodeRef
    Attributes None
    Type xs:complexType (with mixed content).

    Example

    For an example of this kind of usage of tsd:accessPredicate, see tsd:subTreeSQL.

Top of page