IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  xf:index-of

    Posted 03/22/05 04:56 PM

    I tried following xquery on Tamino Interactive Interface, but it gives the error saying that the function is unknown. What did I do wrong?

    declare namespace xf=“W3C XQuery 1.0 and XPath 2.0 Functions and Operators
    let $b := (1,2,3)
    return xf:index-of($b,1)

    It seems all the functions on sequences are not working. Can someone tell me why? thanks.


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: xf:index-of

    Posted 04/07/05 06:27 AM

    All of the functions documented in the Tamino documentation appear to be working. “index-of” is not documented there, so I presume it is not supported.

    You can retrieve a specific node of a sequence with something like this:

    let $b := (1,2,3)
    return $b[position()=2]


    #Tamino
    #API-Management
    #webMethods