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.  xquery e variables

    Posted 06/11/04 04:43 PM

    Hi, I have a problem!
    I must declare a variable.
    I must can use this variable with a XPath
    for example:
    $var//part1

    To declare a variable i write
    declare variable $var as node * {

    t1
    t2

    }

    How can I do it?


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: xquery e variables

    Posted 06/14/04 09:24 AM

    Hi,

    In Tamino’s XPath, variables cannot be defined.
    I am not sure what you try to achieve, but maybe the following helps:

    (it’s XQuery)



    let $var :=
    t1
    t2

    return
    $var//part1


    #webMethods
    #Tamino
    #API-Management


  • 3.  RE: xquery e variables

    Posted 06/15/04 02:48 PM

    Submit this query the system return a error: NullPointer


    #webMethods
    #Tamino
    #API-Management


  • 4.  RE: xquery e variables

    Posted 06/16/04 04:01 PM

    Hi Gibbo,
    what kind of tool are you using to submit the XQuery to Tamino 4.1? Please try the XQuery tool, it works for me.
    Regards,
    Gerald


    Gerald Ristow
    Tamino R&D


    #webMethods
    #Tamino
    #API-Management


  • 5.  RE: xquery e variables

    Posted 06/25/04 04:04 PM

    I used a my java program, with Tamino and with library of exist-db


    #Tamino
    #webMethods
    #API-Management