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.  How to join 2 documents which have two different collections

    Posted 11/15/05 04:30 PM

    Hi,

    I have a database (DB) where there are 2 differents collections (dbcoll1 and dbcoll2). Every collection have differents data and in a xquery I must join the 2 collections because I need some data form 2 collections.

    How can I join two differents collections in a xquery?

    Thank you for your help.

    C


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: How to join 2 documents which have two different collections

    Posted 11/15/05 07:09 PM

    If you have at least Tamino 4.2, you can use the collection() function:

    for $d1 in collection('dbcoll1')/doc1, $d2 in collection('dbcoll2')
    where $d1/key = $d2/key1
    return <result>{$d1, $d2}</result>

    #webMethods
    #Tamino
    #API-Management


  • 3.  RE: How to join 2 documents which have two different collections

    Posted 11/15/05 08:25 PM

    Hi Curtis,

    In fact, I have the Tamino version 4.4.1 and your response answers to my question. It’s that I need.

    Thank you for your help!

    C


    #API-Management
    #Tamino
    #webMethods