[basex-talk] Fwd: concat string in for loop

2013-01-02 Thread Jarosław Kowalewski
Hi, I've a problem with concatation strings in for loop. e.g. xquery concat("text",' ',"additional text"), ' ', ' ', for $i in element-aelement-b/* return concat($i,' ') give me the result " text additional text element-a element-b " with additional space before "element-a" and "element

Re: [basex-talk] sql query result - formated xml from mysql database

2012-11-15 Thread Jarosław Kowalewski
Thanks a lot for help. I have to read documentation careful:) Thanks for advice, but we use mysql for a few years and it's not possible to change it. But I want to use BaseX as flexible tool for reporting with very nice xquery3.0. Jarek 2012/11/15 Fabrice Etanchaud : > Hello, > Maybe you should

[basex-talk] sql query result - formated xml from mysql database

2012-11-15 Thread Jarosław Kowalewski
Hi, I've in my mysql database field with xml (formated xml). By using sql module i get something like that: http://basex.org/modules/sql"; name="xml"> Re: [basex-talk] xquery sql module init driver
Thanks a lot. That works!:) Mayby it's a good idea to write about that in manual or FAQ? Jarek 2012/11/15 : > Message: 4 > Date: Wed, 14 Nov 2012 15:55:34 +0100 (CET) > From: Antoni Mylka > To: basex-talk > Subject: Re: [basex-talk] xquery sql module init driver > Message-ID: <70165.74583

[basex-talk] xquery sql module init driver

Hi, I try to connect with my database directly by sql module. sql:init("com.mysql.jdbc.Driver"), let $conn := sql:connect("jdbc:mysql://dbhost:port/dbname") return sql:execute($conn, "SELECT * FROM coffees WHERE price < 10") but I've problem with and I get error "[BXSQ0007] Could not initialize

Re: [basex-talk] add to database basexclient - skip non-well formed xml files

gt; [1] http://docs.basex.org/wiki/Options#SKIPCORRUPT > > On Tue, Jul 24, 2012 at 10:16 AM, Jarosław Kowalewski > wrote: >> >> Hi, >> how can I skip non-well formed xml files in command line import. >> Basexclient add. With basexgui it's possible. >> >> t

[basex-talk] add to database basexclient - skip non-well formed xml files

Hi, how can I skip non-well formed xml files in command line import. Basexclient add. With basexgui it's possible. thx Jarek ___ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

[basex-talk] add to database basexclient - skip non-well formed xml files

Hi, how can I skip non-well formed xml files in command line import. Basexclient add. With basexgui it's possible. thx Jarek ___ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk