Problem in STORE TO command

Sunday, 3 May 2015 · 2 messages
MD
Mh Djamila3 May 2015 15:52 #

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.

Quoted text · 1 line
> 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

CG
Christian Grün3 May 2015 19:04 #
Quoted text · Mh Djamila · 2 lines
> I am using BaseX and I want to execute a query on a database and then save > the result using the STORE TO command.

I am not sure if you do what you want to do here. Have you read the documentation?

http://docs.basex.org/wiki/Commands#STORE http://docs.basex.org/wiki/Databases

Quoted text · Mh Djamila · 19 lines
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

⚡Generated with XQuery