QuiP

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