Hi
I am using BaseX and I want to execute a query on a database and then save the result using  the STORE TO command.The query is well executed but when i tried to save the results i had this error :

RUN C:/xquery.xq
.......
......
......

Query "xquery.xq"executed in 4661.28 ms.

> STORE TO C:/test.xml
Stopped at ,1/21:
Syntax: STORE (TO [path])[input]
Store raw data
Stores raw data to the specified [path]

Any help you can provide will be appreciated.

Thanks in advance