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

Re: Passing a variable number of parameters?

Subject: Re: Passing a variable number of parameters?
From: Joseph Dane <jdane@xxxxxxxxxx>
Date: Mon, 27 Sep 2004 08:31:06 -1000
Re:  Passing a variable number of parameters?
Jakob Fix <jakob.fix@xxxxxxxxx> writes:

>> <xsl:variable name="params" select="document('params.xml')"/>
>
> Well, in a multi-user environment this won't work, unless I create a
> unique file for each request which is out of the question, and
> impossible as the client in this application cannot create files on
> the server.

it's not necessarily true that you need to create a file for each
request.  resolving names (e.g. 'params.xml') into input streams is
a somewhat murky affair, which can be a PITA but can also provide a
certain amount of flexibility.  I'm sure it depends on the toolset
you're using, but in the Java world you can set a custom URIResolver
before you start the transformation, and that resolver can do just
about anything it wants, and return anything you like.

-- 

joe

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.