[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

say how to get "newline" working

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


  say how to get "newline" working
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: http://x-query.com/mailman/listinfo/talk [mailto:http://x-query.com/mailman/listinfo/talk] On Behalf Of http://x-query.com/mailman/listinfo/talk
> Sent: Saturday, March 10, 2012 5:42 PM
> To: http://x-query.com/mailman/listinfo/talk
> Cc: http://x-query.com/mailman/listinfo/talk
> Subject: Re:  say how to get "newline" working
> 
> Dear http://x-query.com/mailman/listinfo/talk, 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.
> _______________________________________________
> http://x-query.com/mailman/listinfo/talk
> http://x-query.com/mailman/listinfo/talk
> 
> 
> 
> _______________________________________________
> http://x-query.com/mailman/listinfo/talk
> 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



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.