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
  • 1.  Joining Two Documents

    Posted Thu September 08, 2005 11:26 PM

    Hi,

    I have two tamino documets on containing fields userid,userdetails…

    another document have fields userid and credit details . how i can join these two documents so that i can print both userdetails and credit details for a particular user.

    regards sreeju


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: Joining Two Documents

    Posted Fri September 09, 2005 04:45 PM

    You want something like:

    for $u in input()/user, $c in input()/credit
    where $u/userid = $c/userid
    return ...

    #webMethods
    #Tamino
    #API-Management


  • 3.  RE: Joining Two Documents

    Posted Mon September 12, 2005 05:54 PM

    can you please make it clear.

    how i can return username from first document and credit amount from second document

    ie how will be the return statement looks like… i got confused… so please

    regards sreeju


    #webMethods
    #API-Management
    #Tamino


  • 4.  RE: Joining Two Documents

    Posted Tue September 13, 2005 12:46 AM

    It’s hard to say without knowing more about your schemas, but here’s something to get you started:

    for $u in input()/user, $c in input()/credit
    where $u/userid = $c/userid
    return <my-result> { $u/userid, $c/credit-details } </my-result>

    #webMethods
    #Tamino
    #API-Management