webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Problem using predicates in xquery

  • 1.  Problem using predicates in xquery

    Posted Sun March 18, 2007 04:14 PM

    Hi,
    I’m using 4.4.1 patch 6 and I am trying to use the following xpath in a predicate, but it doesn’t seem to be valid, is this possible? Tamino seems to be complaining about the (

    (initialData/(enteredBy,contractLead),extendedData/tfxSignatory) = 'rpuddephatt'

    Thanks

    Ryan


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: Problem using predicates in xquery

    Posted Mon March 19, 2007 12:37 PM

    Hi Ryan,

    yes an opening bracket as the beginning of a step in XPath is no good in Tamino. If what you are trying is to find those entries for which one of three descendants initialData/enteredBy, initialData/contractLead, and extendedData/tfxSignatory is equal ‘rpuddephatt’, do:

    (initialData/enteredBy, initialData/contractLead, extendedData/tfxSignatory) =
    ‘rpuddephatt’

    Regards,
    Juliane.


    #webMethods
    #Tamino
    #API-Management