[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: What niche is XQuery targeting?


lisp xquery
Dave Pawson wrote:
 > On Thu, 2004-12-02 at 10:29 -0500, Jonathan Robie wrote:
 >>XSLT is the Lisp of native XML programming. XQuery is ... more like a
 >>SQL with report writing capabilities.
 >
 > Except:
 >
 > 1. Xquery is not XML AFAIK.

I'm not sure why you say, 'except' - where do we disagree?

The fact that XQuery is not XML is one of the things I was implying
when I said, "XSLT is the Lisp of native XML programming". Lisp, like
XSLT, uses the same representation for data and programs, allowing a
program to be treated as data. XQuery, like SQL, does not. Lisp, like
XSLT, is an extremely useful language with a fanatical following, but
SQL probably has a wider following.

 > 2. Heavily recursive programming in XSLT is far less common that it
 > seems to be perceived here.

Are you saying that XSLT stylesheets that revolve around
<xsl:apply-templates/> are not common? If so, you must be
writing/reading/using very different stylesheets from the ones I see.

 > 3. XSLT was written in XML since the Lisp'ish Scheme used in DSSSL was
 > perceived as 'ard.

'Hard' only makes sense with respect to a given audience. I think
most programmers can pick up a copy of "The Little Lisper" and learn
how to write Lisp programs relatively easily - but in the process,
they will have to learn a whole new way of thinking. Is that hard? I
don't think so, but it does seem to keep Lisp from being a mass
market language.

XSLT is a successful language, and a very useful language. For the
kinds of tasks that drove its design, it's easier to use than
XQuery. For the kind of tasks that drove the design of XQuery, I
prefer XQuery.

Could be more than coincicdence.

Jonathan

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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.