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
  • 1.  XQL query path

    Posted Wed September 10, 2008 11:06 PM

    using xql/wql i want to find a document from a documentlist
    here is xml

    <?xml version="1.0"?> 2611327 3201 2611327 3300 2611327 3310 2611327 3400

    I want to find all documents with lineNm starting with 33(say)
    Please provide some help


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


  • 2.  RE: XQL query path

    Posted Thu September 11, 2008 02:29 AM

    Hi,

    The Key point is “//*[LineNm[regex(“33\d\d”)]]” :eek:

    But if you want to look at a working example, you can load the attached webMethods package.

    Any problems let me know.

    Ram
    zzXMLQuery.zip (6.05 KB)


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


  • 3.  RE: XQL query path

    Posted Thu September 11, 2008 05:41 PM

    thanks that works.
    wanted to know, what is meant by regex and how else can it be useful
    any documentation/links would be helpful


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


  • 4.  RE: XQL query path

    Posted Fri September 19, 2008 01:07 AM

    regex stands for Regular Expression. Its a natural language and most of todays programing languages have an implementation of it. Google for Java Regular Expression and you will see tons of information.


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