I am working on a FLWOR XQuery expression and I want to use the group by in my code. but it gives me this error everytime I use group by "XPST0003: To use XQuery 3.0 syntax, you must request XQuery version 3.0 both in the prolog and in the command line or API".
Please help me. I am currently using XQuery version 1.0 or SAXON-EE XQuery 9.5.1.2. I running Oxygen for this purpose.