Hello,
I am trying to execute the following Xquery statement:
String xq2=“for $b in input()/Mitarbeiter where $b/Adresse=”+“Frankfurt”+“return $b”;
XQuery parsing error, Syntax Error at line 1, column 64: found Variable when expecting any of: “or”, “and”, “div”, “mod”, " *", “return”, “intersect”, “union”, “except”, “/”, “//”, “=”, “!=”, “<=”, “>=”, “eq”, “ne”, “gt”, “ge”, “lt”, “le”, "< ", “>”, “-”, “+”, “=>”, “|”, “(”, “[”, “sort”, “stable”)
What is wrong with my statement? Has somebody experience with this case?
Thanks in advance!
chacha