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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Document composition

  • 1.  Document composition

    Posted Thu October 30, 2003 12:54 PM

    Hi everyone!

    I have a problem with document composition. I hope this is the right forum to ask for help. If not, I apologize. What forum do I have to go to?

    Understanding the concept of document as an XML file that follows a schema, I know Tamino can compose one document (parent) with the information contained in another one (child).

    I have composed two entire documents and it has gone OK, but can Tamino compose one parent document with the information contained in only one tag of a child document (not the entire child document)?

    I’ve tried and it doesn’t seem to work. Can anyone help me?

    Thanks in advance


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: Document composition

    Posted Thu October 30, 2003 01:58 PM

    Hi,
    if you use Tamino 4 and XQuery this should be straightforward:

    example from documentation:

    for $b in input()/bib/book,
    $a in input()/reviews/entry
    where $b/title = $a/title
    return

    { $b/author }
    { $b/title }
    { $a/review }


    This returns some of doctype bib and some of review.

    Did this help?

    regards,

    Timm


    #Tamino
    #API-Management
    #webMethods