Re: [basex-talk] Writing

2020-06-11 Thread Liam R. E. Quin
On Fri, 2020-06-12 at 03:46 +0200, Giuseppe G. A. Celano wrote: > Hi, > > I would like to print a comment containing only a dash (i.e., >) , but this is not allowed. This is not permitted in XML; it's a syntax error. A - in a comment must be followed by a character that is not a hyphen. You can

[basex-talk] Writing

2020-06-11 Thread Giuseppe G. A. Celano
Hi, I would like to print a comment containing only a dash (i.e., ) , but this is not allowed. I tried to use "-" instead of - in comment { "-” }, but such a string is converted to ‘-', so the error is still there. How can I print ? Should I simply use <->? In any case, I see that data()

Re: [basex-talk] Writing out

2012-04-17 Thread Christian Grün
> The following function takes a lot of time execute. If I don't write the > fetched binary image into file with fn:write-binary function, then it is > quick and no delay. > Somehow, write-binary function call is killing performance here. This sounds surprising to me; could you send me the query w

Re: [basex-talk] Writing out

2012-04-17 Thread Erol Akarsu
Thanks Christian The following function takes a lot of time execute. If I don't write the fetched binary image into file with fn:write-binary function, then it is quick and no delay. Somehow, write-binary function call is killing performance here. do you have any other suggestion to solve this pe

Re: [basex-talk] Writing out

2012-04-17 Thread Christian Grün
> Dow we have equivalent function in basex xquery for java static method > URLEncoder.encode ? ..just try encode-for-uri($uri). Christian > I need it before sending url request, > > Thanks > > Erol Akarsu > > > On Mon, Apr 16, 2012 at 9:32 AM, Dimitar Popov > wrote: >> >> http://docs.basex.org/

Re: [basex-talk] Writing out

2012-04-17 Thread Dimitar Popov
Am Dienstag, 17. April 2012, 15:20:02 schrieb Erol Akarsu: > Thanks Dimitar, > > I have one more question. > > Dow we have equivalent function in basex xquery for java static method > URLEncoder.encode ? I'm not aware of such XQuery function - maybe someone else one the ML would know better. If

Re: [basex-talk] Writing out

2012-04-17 Thread Erol Akarsu
Thanks Dimitar, I have one more question. Dow we have equivalent function in basex xquery for java static method URLEncoder.encode ? I need it before sending url request, Thanks Erol Akarsu On Mon, Apr 16, 2012 at 9:32 AM, Dimitar Popov < dimitar.po...@uni-konstanz.de> wrote: > http://docs.b

Re: [basex-talk] Writing out

2012-04-16 Thread Dimitar Popov
http://docs.basex.org/wiki/XQuery_3.0#Serialization On Apr 16, 2012, at 2:25 PM, Erol Akarsu wrote: > I would like to write this line into the beginning of an xml file I am > generating. This is a must because I am generating csv file in xml form that > should be opened Microsoft Excell. > >

[basex-talk] Writing out

2012-04-16 Thread Erol Akarsu
I would like to write this line into the beginning of an xml file I am generating. This is a must because I am generating csv file in xml form that should be opened Microsoft Excell. I tried to use "processing-instruction" like this processing-instruction {"xml"} {'version="1.0"'} But I am g

Re: [basex-talk] Writing JDom Elements into BaseX

2012-03-01 Thread Dimitar Popov
On Mar 1, 2012, at 1:53 PM, Kavuma, J.M. wrote: > Thanks; JDOM seems to be required by one of the additional API libraries > (maybe WebDAV?). Correct. The JDOM library is needed by the Milton WebDAV implementation, which we used in basex-api. Regards, Dimitar > The core of BaseX runs without

[basex-talk] Writing JDom Elements into BaseX

2012-03-01 Thread Kavuma, J.M.
Thanks; JDOM seems to be required by one of the additional API libraries (maybe WebDAV?). The core of BaseX runs without any additional libraries. > On Fri, Feb 17, 2012 at 4:52 PM, Kavuma, J.M. wrote: >> Hi Christian, >> Thanks for the reply. I browsed the libraries bundle with baseX and jdom