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

Ask for attribute and value of an element in xquery

  • 1.  Ask for attribute and value of an element in xquery

    Posted Mon February 05, 2007 06:04 PM

    Input source xml :

    some value

    XPATH = /T1/T2[@year=‘2006’]=‘some value’

    How will be this query in xquery? I am interested on where clause.

    for $a in input()/T1
    where ----------
    return { $a }


    #webMethods
    #webMethods-Tamino-XML-Server-APIs
    #API-Management


  • 2.  RE: Ask for attribute and value of an element in xquery

    Posted Mon February 05, 2007 06:30 PM

    Don’t answer last question. Where clause is the same :

    $a/T2[@year=‘2006’]=‘some value’


    #webMethods
    #webMethods-Tamino-XML-Server-APIs
    #API-Management