webMethods

webMethods

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

Return Attribute as Element

  • 1.  Return Attribute as Element

    Posted Tue March 29, 2005 01:25 PM

    Hi,
    how can I return an Attribut as an element?
    The document looks like that:
    book

    if hab a query like

    for $i in input()/book
    return {$i/@isbn ???}{$i/title}

    Thanks

    tovo


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: Return Attribute as Element

    Posted Wed March 30, 2005 04:06 PM

    for $i in input()/book
    return {string($i/@isbn)}{$i/title}


    #Tamino
    #webMethods
    #API-Management