[xsl] A community project

Subject: [xsl] A community project
From: "Adam van den Hoven" <list@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Jan 2002 18:22:10 -0800
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:


and the assumption is that testTrans.xsl looks something like:
 <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,

D O T E A S Y - "Join the web hosting revolution!"

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

Current Thread