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

Re: Hello XQuery ... Goodbye XSLT?


xml representation of css
On Tue, Nov 09, 2004 at 05:19:01PM -0500, Jonathan Robie wrote:
> I also think most programmers prefer a keyword syntax to an XML-based 
> syntax for everyday programming.

<response>
  <sentence>
    <interrogative>What?</interrogative>
  </sentence>
  <sentence>
    <interrogative>
      There are
      <nounphrase>types of discourse</nounphrase>
      for which
      <noun>XML</noun>
      is not the most comfortable
      <nounphrase>syntactic representation</nounphrase>?
    </interrogative>
  </sentence>
</response>

:-)

Stephen Pemberton has repeatedly raised the idea that sometimes it's
be more useful to define a mapping (e.g. as we're doing for
XQuery <-> XQueryX) so that people can work in a comfortable idiom
but can then join the happily family of XML users in a group cuddle,
using XML tools to manipulate their data / progams, and then
rewrite them if and as needed.

I think a good example might be the idea of an XML representation of
CSS -- one could use client-side XSLT in a Web browser to manipulate
a style sheet.

But in the comparison between XQuery and XSLT people are comparing the
non-XML textual representation of XQuery with XSLT.

I think it's better to emphasise that XQuery is designed for efficient
optimization to be possible for a different set of use cases than XSLT.
This applies both to human users -- some tasks are easier in one than
another -- and for implementations.

I don't want to use XSLT to identify all REPAIR-SEQUENCE elements with
a STEP element having a PREREQUISITE of part-no 1976 in a dozen
150,000-page aircraft manuals.  But this operation might be almost
instant with an XML Query implementation, and would be very easy.
(there are already multi-document implementations that use indexes
as Jonathan of course is aware, but many other xml-dev readers might
not know this)

Best,

Liam

-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/

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.