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

RE: read records from database in XSLT

Subject: RE: read records from database in XSLT
From: "Stuart Celarier" <stuart@xxxxxxxxxxx>
Date: Wed, 15 May 2002 08:47:31 -0700
read records java
You need a web server that can expose a database, so that the database
can be addressed and accessed through a URI. That is the integration of
the web server and the database server. Look there. If you can create
that integration with java servlets to do what you want, you might have
a solution. Sorry, I know very little about java servlets.

It should be obvious that you want the results of your database query
returned as XML. If that is not obvious to you yet, think ahead. What
are you going to do with the result of the document() function? Access
it through XSLT. And XSLT transforms what? XML data. BTW, the XML record
set result has to be a well-formed XML document, e.g., have exactly one
top level (root, document) element. That is what the MS SQL Server
query's "FOR XML AUTO" is doing: returning the record set as an XML
document.

Naturally, if this is data you care about and you are exposing it
through an HTTP server, you should already be thinking about security.
With my tongue firmly planted in my cheek, let me leave that as an
exercise for the reader.

Cheers,
Stuart


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


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.