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

How to join two documents from two different collections?

  • 1.  How to join two documents from two different collections?

    Posted Fri December 05, 2003 03:31 PM

    Dear Tamino XQuery Forum Members.

    I am using tamino 4.1.4.

    It looks like xquery and x-query restricts you to operate on only one collection.

    Suppose I have two documents in two different collections, and that each document has an attribute named “id”.


    1) Is it possible make a query that joins two documents from different collections?

    2) If so how?

    Thanks in advance.

    Best Regards
    Stefan Krabbe


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: How to join two documents from two different collections?

    Posted Mon December 15, 2003 03:05 PM

    Hello,
    this is currently not possible.
    The functionality will be available in V4.2 with
    the support of the collection() function of XQuery.
    Instead of the currently used input() function, you can then use the collection() function to
    access and join documents from different collections.

    Best regards
    Walter
    Tamino R&D


    #webMethods
    #Tamino
    #API-Management