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

Re: XQuery basics

Subject: Re: XQuery basics
From: Michael Ludwig <mlu@xxxxxxxxxxxxx>
Date: Fri, 06 Jun 2008 15:48:43 +0200
Re:  XQuery basics
Andrew Welch schrieb:
2008/6/6 Robert Koberg <rob@xxxxxxxxxx>:
I was kind of joking with Andrew (perhaps my smiley was not enough to
indicate that). Andrew wants a way to use XSL files like some folk
use JSP or PHP (or in the case of eXist and others, XQuery). I don't
think it is a good idea from a memory (as Michael Kay reaffirmed in
his post on this thread) and functionality standpoint.

How isn't it a good idea from a functionality point of view... what language is better than XSLT at creating markup?

Wouldn't you just end up spending a lot of work on extending XSLT to do what its host languages - Java, Perl, PHP, all proven to work in the application server by years of experience and development - already do? It's not only about mark-up, but about so many other things - including dealing with non-XML data.

Just think about the case of people insisting to generate CSV via, of
all tools, XSLT. While I do not doubt it can be done I wonder if it's
worth the effort when the solution is already at hand in the form of
your preferred general-purpose programming language.

Standalone schema-aware transforms, generating strict xhtml by
transforming xml returned from various queries (where the xslt, xml,
and xquery are all stored in the same database) could well be the most
common use of 2.0 in the future.

Storing the XSLT in the database?


Michael Ludwig

Current Thread

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
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.