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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  How to access one specific element in a document

    Posted 04/24/12 05:52 PM

    Hello,

    I am new to webMethods and there’s something I used to do with another tool that I don’t know how to do in WM, if it’s even possible.

    I have a document that contains a document list of keys/values. I want to get the value of one specific element of the list whose key is ‘myKey’, except I don’t know its index and I don’t want to loop over the list. Something like /document/documentList[key=‘myKey’]/value.

    What is the correct syntax for this ?

    Thanks for your help !


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: How to access one specific element in a document

    Posted 04/25/12 12:36 AM

    Have a look at the documentation for XQL (XML Query Language). It supports this xquery-like function.

    Mark


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 3.  RE: How to access one specific element in a document

    Posted 04/25/12 12:13 PM