I want to extract fragments from a bunch of xml files inside a directory named 'collection1' by using xquery fulltext in the MXQuery 0.6.0.
Unfortunatelly I didn't find any tutorial to do this.
fulltext3.xq:
fn:collection("file:/C:/mxquery-bin-0.6.0/mxquery-bin/dist/collection1/")/books/book/title[. ftcontains 'Bringing Down the House: How Six Students Took Vegas for Millions' ftor 'Beat the Dealer']
$ java -jar mxquery.jar -fm -f fulltext3.xq
MXQuery 0.6.0
Error occured during evaluation:
Error code: err:FODC0004
Error message: Collection for URI file:/C:/mxquery-bin-0.6.0/mxquery-bin/dist/collection1/ not set
Could you help-me to create a collection and perform a query in there?
Hello Peter,
I want to extract fragments from a bunch of xml files inside a directory named 'collection1' by using xquery fulltext in the MXQuery 0.6.0.
Unfortunatelly I didn't find any tutorial to do this.
fulltext3.xq:
fn:collection("file:/C:/mxquery-bin-0.6.0/mxquery-bin/dist/collection1/")/books/book/title[. ftcontains 'Bringing Down the House: How Six Students Took Vegas for Millions' ftor 'Beat the Dealer']
$ java -jar mxquery.jar -fm -f fulltext3.xq
MXQuery 0.6.0
Error occured during evaluation:
Error code: err:FODC0004
Error message: Collection for URI file:/C:/mxquery-bin-0.6.0/mxquery-bin/dist/collection1/ not set
Could you help-me to create a collection and perform a query in there?
Regarding,
Daiane