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

Tamino XQUERY - using xpath expressions in node formatting

  • 1.  Tamino XQUERY - using xpath expressions in node formatting

    Posted Fri September 17, 2004 02:05 PM

    Hi folks,

    This is my first post on the forums. I’ve done a search to attempt to answer my own question but I’m having no luck.

    My question surrounds the use of xpath functions whilst formatting the output from a Tamino XQUERY.

    If I define the following XQUERY…

    for
    $enquiry in input()/enquiry
    return

    {$enquiry/enquiry-type}
    {substring($enquiry/enquiry-type, 1, 1)}


    I get the following error from Tamino

    INOXQE6358 - Function unknown
    Function: substring

    Is this just a case that some of the xpath functions have been reserved by tamino xquery syntax but not implemented ?

    If so - when is tamino likely to support this ? I’m using version 4.1.4.1

    The reason why I need to do this is to flattern/transform certain nodes of my documents right back at the database. One of the reasons for doing this is to save sending ‘bulky’ data over the network and also to massively reduce the complexity involved in my xsl stylesheets.

    Any information or help would be greatly appreciated.

    Regards

    Ian Gratton


    #Tamino
    #API-Management
    #webMethods


  • 2.  RE: Tamino XQUERY - using xpath expressions in node formatting

    Posted Fri September 17, 2004 05:22 PM

    Hi folks,

    bit more information.

    I’ve just upgraded my Tamino to 4.2.1.201 and the substring xpath function now works after the return part of the xquery. This is a great relief.

    I will do a bit more experimentation and report back if I find anything else but i imagine most other xpath functions now work too.

    Regards

    Ian Gratton


    #webMethods
    #Tamino
    #API-Management