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.  QuiP

    Posted Tue May 20, 2003 05:30 PM

    How do I pass a variable from a promp to my XQuery ? Im using Quip from a windows prompt, and would like to set the “search” argument in the following query from the prompt:

    let $search := “net”
    for $i in document(“projekt/courses.xml”)/courses/course
    where contains($i/keywords/text(), $search)
    return
    {$i}

    something like:
    quip.exe -o testresults.xml projekt\find.xquery -variable search net

    would be great - thanks :slight_smile:

    /Troels


    #Tamino
    #API-Management
    #webMethods