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

Re: XSLT & SQL

Subject: Re: XSLT & SQL
From: Jeff Kenton <jkenton@xxxxxxxxxxxxx>
Date: Thu, 11 Jul 2002 17:09:25 -0400 (EDT)
xsl format sql date
On Thu, 11 Jul 2002, E L wrote:

..Someone told me that he can do *any* XSLT transformation in SQL. Here's the
..premise: any input XML document can be represented by one or more tables;
..likewise for the output XML document. The XSLT can be replaced with an SQL
..insert statement, selecting from the input and inserting to the output
..(e.q., any XPath expression can be expressed by a similar WHERE clause in a
..SELECT statement).
..
..I can see it's possible for simple document. Are there instances where this
..would not be possible?
..


There are two parts to the answer:

First, even when it's possible, which is the best tool for the job? You 
can do most things with a Turing machine, but nobody does.

Second, there are lots of cases where it's not possible.  Arbitrary text 
output is one.  I bet some of the xsl:number formatting options would be 
tough to do in SQL (format A or I come to mind).  You're welcome to go 
through the spec(s) and find your own examples.

It's a lot easier to make blanket claims than to back them up when it 
comes down to the details.



-- 

Jeff Kenton
DataPower Technology, Inc.
 *** Wire Speed XSLT ***

http://www.datapower.com/products.shtml



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • XSLT & SQL
    • E L - Thu, 11 Jul 2002 16:10:31 -0400 (EDT)
      • Jeff Kenton - Thu, 11 Jul 2002 17:08:40 -0400 (EDT) <=
      • Thomas B. Passin - Thu, 11 Jul 2002 17:29:15 -0400 (EDT)
      • David Carlisle - Thu, 11 Jul 2002 17:53:55 -0400 (EDT)
      • <Possible follow-ups>
      • E L - Thu, 11 Jul 2002 16:45:41 -0400 (EDT)
      • Hunsberger, Peter - Thu, 11 Jul 2002 16:53:43 -0400 (EDT)

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.