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.

 View Only
Expand all | Collapse all

positional variable "at" in Tamino 4.2.1

  • 1.  positional variable "at" in Tamino 4.2.1

    Posted Sat September 30, 2006 01:38 PM

    Does Tamino 4.2.1 support the positional variable “at”? I get the following error message: …found “at” when expecting “in”… after this xquery:

    for $title1 at $i in /books/title
    where tf:containsText($title1,"biology")
    return <res>{/books/title[$i+1]}</res>

    What I’m trying to do is to get not the title-element in which the searched text “biology” was found but only the following one. This xquery works fine with xquery-processors. If 4.2.1 does not support “at”, what’s the other way to get the result mentioned above?

    Thanks a lot.
    Max


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: positional variable "at" in Tamino 4.2.1

    Posted Sun October 01, 2006 06:37 PM

    Hi,

    no 4.2 does not support “at”, but 4.4 does. As 4.2 is a quite old version, we recommend switching to 4.4 anyways

    Regards

    Harald


    #API-Management
    #webMethods
    #Tamino