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

Re: XSLT and XQuery


xslt date conversions
At 07:52 AM 1/7/2002 -0500, Jonathan Borden wrote:

>Perhaps the argument can be made not for unifying the 'surface syntax' of
>XSLT and XQuery, but rather the underlying model. To the extend that the
>XQuery formalism is a good model of XML, and incorporates, or references
>good models of XML in general, one would wonder why  XSLT 2.0 would need a
>different formalism.
>
>To use your example, this would be analogous to having C++ compile to the
>Java VM, or essentially what MS has done with C#. Hence I say that the
>proper comparison would be between C# and Java -- well assuming a whole lot
>of extraneous issues related to MS and Sun didn't exist :-))

I agree that XPath and XQuery should use the same underlying model, and I 
think they already do. They use the same data model, the same type system, 
and are even generated from the same grammar. They are formalized using the 
same formal semantics. The looser typing of XPath is expressed by fallback 
conversions that are not supported in XQuery.

Are there further steps that we should take in this direction?

>That said, if there are some simple changes which would unify the (non-XML)
>attribute constructor _syntax_ that would be a Good Thing.

Agreed.

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.