[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 19:01:32 PST 2012

  say how to get "newline" working
On Sun, 2012-03-11 at 10:14 +0800, http://x-query.com/mailman/listinfo/talk wrote:

> Haven't had to make my own newlines since using those Control Data
> computers back in the 80's. But if you insist...

XQuery is not really a line-oriented language. I don't agree with you
that "it should be as easy as seq 1 3" any more than it should be easy
to process XML documents recursively an element at a time with sed, or
to use grep only within certain elements. Unix is line-oriented, XQuery
is XML-oriented.

This is true regardless of whether you used Control Data computers.

Having said that, I can imagine a BaseX feature request - or maybe even
an XQuery feature request - for how to separate items in a sequence when
serializing. Such a request could be filed against the 3.0 serialization
spec at https://www.w3.org/Bugs/Public/ and the XQuery and XSLT Working
Groups will discuss it.


Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/


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.
First Name
Last Name
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.