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

Re: What niche is XQuery targeting?


Re:  What niche is XQuery targeting?
On Tue, 2004-12-07 at 22:16 -0800, Daniela Florescu wrote:
> > 1. Xquery is not XML
> 
> I was always puzzled by this argument that people use in
> favor of XSLT and against XQuery.
> 
> First, please let me remember you that XSLT is not XML
> in it's entirety EITHER. Do you forget that the path
> expressions remain unparsed strings  and appear as
> attribute values !?

I *think* attributes are still part of XML?
I believe XSLT... or the stylesheets I've seen,
are well formed XML too. 




> 
> For me this dual representation of XSLT (half pre-parsed XML,
> half unparsed strings) doesn't bring any advantage.
For one, I can generate it with xslt,
and I can parse it using XML tools. 
I think that's an advantage.


> 
> I love the *semantics* of templates in XSLT. I find it really useful.
> But I would prefer to also have an angle brackets free syntax for it.

I'm sure someone will or has written a round bracket form of XSLT.



> 
> As such (with the current XSLT syntax) it makes it harder for me
> as a developer (I tend to dislike programming with angle brackets
> --- it's not readable enough), and due to the fact it is XML only half 
> way,
> it doesn't make it easier for automatic processing either.

I guess I'm the opposite. Most people I've come across prefer the rnc
format of relax-ng, I prefer the rng format. 


> 
> So Dave, we had this argument a couple of times, and I never understood
> your answer: what exact benefit do you get from the the fact that XSLT 
> is
> represented in it's current XML syntax ?
> 
> And why don't you get the same benefits from XQueryX (the pure XML
> variant of XQuery) ?

I am fairly familiar with XML processing. I generate and process
XSLT as XML instances.

I don't get the benefits from XQueryX because,
very simply,
I've never used it.
Never found a use for it,
and ... I guess, 
am very unlikely to use it..
 unless I find a use for an XML database, in which case couldn't I use
XSLT?


regards DaveP 
  





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.