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

RE: XQuery -- Reinventing the Wheel?

  • From: Jonathan.Robie@S...
  • To: brian_n_miller@y..., xml-dev@l...
  • Date: Thu, 22 Feb 2001 13:27:16 -0500

RE: XQuery -- Reinventing the Wheel?
Title: RE: XQuery -- Reinventing the Wheel?

Brian Miller wrote:

> Jonathan.Robie@S... wrote:
> >
> > "An entirely new syntax" seems to be a bit of an
> > exaggeration.  In fact, XPath 2.0 will become that
> > common semantic and syntactic core for both
> > languages [XSLT and XQuery].
>
> How awkward that XPath (the "common semantic and
> syntactic core" of our pending XML revolution) is
> itself not expressed as XML.

Actually, I do not see this as awkward. In SQL, the query language is not expressed in tables and rows. In XQuery, the query language is not expressed in XML. Why is this a problem?

I have played with several syntaxes for expressing XPath with XML syntax, and it makes expressions *much* harder to read, write, and modify. However, it's quite easy to generate these representations automatically using an XPath parser, and they can be easier to use for programmatic manipulation. But I don't want to write them by hand.

Historical note: XSLT once *did* use an XML syntax for path expressions. The XSL Working Group found this awkward, and adopted a string-based expression language for the convenience of stylesheet authors.

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.