On 18/03/2010 14:13, Max Toro wrote:
The only solution I can think of is using extension methods to pull
the parameters from the environment, something like this:
<xsl:param name="color" value="(ext:get-parameter('color'), 'red')[1]"
as="xs:string"/>
more portable you can have a simple stylesheet with just a named
template that initialises its parameters from global parameters and then
xsl:imports the original stylesheet. this means you need a wrapper
stylesheet for any top level named template that you want to use, but
most stylesheets don't have _so_ many choices for initial named template.
David
________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--