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

A community project

Subject: A community project
From: "Adam van den Hoven" <list@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Jan 2002 18:22:10 -0800
 A community project
More times than I can count I've written ASP code that takes an xml document and an xsl document and performed the transform using a number of global paramters. 

However time has past, jobs have changed and I am thrust into a Java environment. Despite the fact that I was once a promising Java coder, almost 3 years of ASP has eroded my ability to do it. 

Does anyone have a JSP file they would care to share with the rest of the world that takes xml and xsl files names from the command line plus an arbitrary number of global parameters and returns the resulting output? I'm thinking of something like the following url:

http://www.adamvandenhoven.com/transform.jsp?XML=/testsource.xsl&XSL=/testTrans.xsl&SomeParam=value&SomeOtherParam=AnotherValue

and the assumption is that testTrans.xsl looks something like:
<xsl:stylesheet>
 <xsl:param name="SomeParam"/>
 <xsl:param name="SomeOtherParam"/>
 <xsl:template match="/">
.
.
.


All I'm looking for the the basic JSP. There is no need to add caching or doc pooling or whatever. I know guys who can add that for me. I also don't care which parser to use.

Its a useful piece of code to have around. If I dig out the ASP version from the bowels of my old work, I'll post it.

Have a great day,
Adam



__________________________________________________
D O T E A S Y - "Join the web hosting revolution!"
             http://www.doteasy.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.