Re: [basex-talk] default concatenation of strings? BaseX 10.5

2023-04-05 Thread Patrick Durusau

Liam,

Thanks!

Yes, in the response window and I didn't know it used "adaptive" 
serialization.


No promises but I hope to remember that!

Hope you are having a great week!

Patrick


On 4/5/23 16:25, Liam R. E. Quin wrote:

On Wed, 2023-04-05 at 16:01 -0400, Patrick Durusau wrote:

Greetings!

I'm converting Hebrew text, word by word, into code points, which is
returned as:

1493
1463
1497

etc

When you say returned as, i am guessing you mean that's what shows up
in the BaseX "results" window, which uses "adaptive" serialization.

You could use string-join(your query here, ' ') of course, to make a
single string;
in that window sequences are shown one item per line.


liam


--
Patrick Durusau
patr...@durusau.net
Technical Advisory Board, OASIS (TAB)
Editor, OpenDocument Format TC (OASIS), Project Editor ISO/IEC 26300
Co-Editor, ISO/IEC 13250-1, 13250-5 (Topic Maps)

Another Word For It (blog): http://tm.durusau.net
Homepage: http://www.durusau.net
Twitter: patrickDurusau



OpenPGP_signature
Description: OpenPGP digital signature


Re: [basex-talk] default concatenation of strings? BaseX 10.5

2023-04-05 Thread Liam R. E. Quin
On Wed, 2023-04-05 at 16:01 -0400, Patrick Durusau wrote:
> Greetings!
> 
> I'm converting Hebrew text, word by word, into code points, which is 
> returned as:
> 
> 1493
> 1463
> 1497

etc

When you say returned as, i am guessing you mean that's what shows up
in the BaseX "results" window, which uses "adaptive" serialization.

You could use string-join(your query here, ' ') of course, to make a
single string;
in that window sequences are shown one item per line.


liam

-- 
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations:  http://www.fromoldbooks.org