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

RE: Replacing server scripts (ASP) with XSL, was RE: About x

Subject: RE: Replacing server scripts (ASP) with XSL, was RE: About xsl:scripts
From: "Didier PH Martin" <martind@xxxxxxxxxxxxx>
Date: Wed, 14 Apr 1999 19:43:36 -0400
replace asp xml rpc
Hi Jonathan,

<Comment>
Here's a snippet from a current XML/XSL based electronic medical record
project (this is already being used in beta form, and is going into
production/live patient data mode in about 2 weeks).

What is illustrated is how ASP scripts can be replaced by XSL
transformations. The client request is sent via HTTP as an XML document. The
HTTP response is XML back to the client, hence XML is used as a sort of RPC
PDU (not to be confused with XML-RPC).
</Comment>

<reply>
You said through HTTP From the client to the server:is is with a post
command? And from the server to the client: is it with a Get command comming
from the client?
</reply>

<Comment>
By hooking into the ASP Request object, this document is read directly into
a DOM object which is transformed via XSL.

This project uses relational database storage (because queries and indices
are critical). Relational database access is via an XML -XSL-> ODBC adapter.

You can see how straightforward this is (and it works :-)

---------asp javascript snippet here----------

	var req = Server.CreateObject("Microsoft.XMLDOM");
	req.load(Request);

	var query = req.transformNode(xfQuery);
	var rs = conn.Execute(query);
	rsToXML(rs);

---------------------
</Comment>

<reply>
got it. lean and mean and efficient. rsToXML is probably a function you
created to transform the data set into a XML document. This is a good hint.
Thanks Jonathan.
</reply>

regards
Didier PH Martin
mailto:martind@xxxxxxxxxxxxx
http://www.netfolder.com


 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.