Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XQuery parameter binding changed in 2.18 #61

Open
jkorab opened this issue Oct 20, 2016 · 0 comments
Open

XQuery parameter binding changed in 2.18 #61

jkorab opened this issue Oct 20, 2016 · 0 comments

Comments

@jkorab
Copy link
Contributor

jkorab commented Oct 20, 2016

Now need to bind the headers as strings and cast to an int:

.transform(xquery("declare variable $in.headers.myParamValue as xs:string external; {for $x in /bookstore/book where $x/price>($in.headers.myParamValue cast as xs:integer) order by $x/title return $x/title}"));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant