How to run a xquery with xml-file (containing value) as one of the bound variable



I am new to using xquery and baseX. I am using the standalone prompt of baseX. I want to run an xquery, contained in abc.xq which can accept an input from a file, say, data.xml.


Basically, abc.xq has a bound variable 'request' which it will extract from data.xml payload.


How do i do this from command line of GUI of baseX?


No comments:

Post a Comment