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

Re: What niche is XQuery targeting?


xqueryx benefits
>
> I think the benefits are:

Thank you Michael for this well articulate answer. It makes perfect 
sense.
Yes, some of the benefits can be achieved by XQueryX, some not.

>>
>> And why don't you get the same benefits from XQueryX (the pure XML
>> variant of XQuery) ?
>
> Because no one would ever want to author or edit or maintain a query 
> using
> that particular language - it's far too low-level.

Sure, but that's not the point. That's why XQuery has two equivalent 
syntaxes,
  one to please human programers, and one optimized for automatic 
processing.

Those two sets of requirements are too different from each other, 
that's all.

If you try to satisfy both requirements with a unique syntax, 
inevitably there
will be some requirements that will not be fully satisfied.

For example, one cannot query (for example for security reasons) if a 
certain XSLT stylesheet
accesses the salary attribute of employee elements using only
an XML processor. In addition, one need to parse the attribute values 
to get that information.

Moreover, by using an XML syntax I am sure XSLT scared certain 
programmers.
You don't hear from them I think because you mostly hear from people 
who *like* XSLT.
I think you don't talk to a good statistical sample of the programmer 
population (but I don't
have of course evidence to support that).

And no, a angle brackets free syntax build by a single person in a 
corner will not attract me.
I have no guarantee that this syntax will still be there, and continued 
if the guy decides
to quit. One cannot program using a syntax unless there is some 
assurance of continuity.

Best regards,
Dana


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.