[basex-talk] BaseX & XQuery 3.1: Arrays

2014-08-09 Thread Christian Grün
Dear all, As you may have heard, XQuery 3.1 will not only provide maps (which have been around in BaseX for quite a while now) but also arrays... And we are pleased to announce that, since today, arrays are available in BaseX! Some of the new features are documented in our Wiki: http://docs.ba

Re: [basex-talk] unexpected behaviour xquery:update()

2014-08-09 Thread Christian Grün
Hi Rob, XQuery Update statements will never give you any output (see the XQuery Update documentation for more info); you'll have to use the copy/update epressions for that. Christian On Sat, Aug 9, 2014 at 10:01 AM, Rob Stapper wrote: > Hi, > > > > See attachment: "XML update example 2.sq" >

Re: [basex-talk] running in eclipse

2014-08-09 Thread Andy Bunce
I have got it to work by removing, then including again, main/resources as suggested here: http://stackoverflow.com/questions/270197/java-in-eclipse-where-do-i-put-files-on-the-filesystem-that-i-want-to-load-usin#comment10363144_270398 /Andy For reference- Eclipse details: Dynamic Languages To

[basex-talk] unexpected behaviour xquery:update()

2014-08-09 Thread Rob Stapper
Hi, See attachment: "XML update example 2.sq" What happens to the output of this program? I don't see any results in the GUI. Rob --- Dit e-mailbericht bevat geen virussen en malware omdat avast! Antivirus-bescherming actief is. http://www.avast.com XML update example 2.xq Descriptio

Re: [basex-talk] CSV : Content is not allowed in prolog.

2014-08-09 Thread Roman Mishin
> fn:doc("db/path/to/doc.xml") ... path/to/docs in the database db answered my own question. Sorry. This does what I inted: doc("IntersectPhoneNumbers/Data/rent_flats.csv") instead of doc("Data/rent_flats.csv") -- Kind regards, Roman

Re: [basex-talk] CSV : Content is not allowed in prolog.

2014-08-09 Thread Roman Mishin
Thank you Dirk. I am new to XQuery and actually learning it along with BaseX. Yes I created a database solely for the purpose of reading CSV files (there is only 3 of them). I added these files to the database using CSV parse via GUI. The files are represented in GUI as XML-like structures. I unde