[xquery-talk] say how to get "newline" working

Liam R E Quin liam at w3.org
Sat Mar 10 16:41:53 PST 2012


On Sat, 2012-03-10 at 22:56 +0000, David Lee wrote:
> There is, but you have to call XQuery natively instead of via "the
> command line"
??!?

you can use string-join( your query here, "
")

or you may be able to use serialization options from the command line.

Lia

> 
> 
> -----Original Message-----
> From: talk-bounces at x-query.com [mailto:talk-bounces at x-query.com] On Behalf Of jidanni at jidanni.org
> Sent: Saturday, March 10, 2012 5:42 PM
> To: talk at x-query.com
> Cc: basex-talk at mailman.uni-konstanz.de
> Subject: Re: [xquery-talk] say how to get "newline" working
> 
> Dear talk at x-query.com, there should be a way to get 'items' back out of Xquery, one per line, without having to hardwire 0x0A (you know, $ perl -wle 'printf "%08b\n" , ord"\n"'
> 00001010
> into the code, as discussed in
> https://mailman.uni-konstanz.de/pipermail/basex-talk/2012-March/002738.html )
> 
> ...or require a post-processor.
> _______________________________________________
> talk at x-query.com
> http://x-query.com/mailman/listinfo/talk
> 
> 
> 
> _______________________________________________
> talk at x-query.com
> http://x-query.com/mailman/listinfo/talk

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org



More information about the talk mailing list