Kourosh wrote:
I'm just wondering, is there a way I could use an environmental
variable in an XML file to specify the path of its XSL file?
XSLT itself can't access the system's environmental variables.
The usual solution is to use your XSLT processor's command-line options
(or API, if you're invoking it from another program) to pass the value
of the environment variable in as a stylesheet parameter. The exact
syntax varies depending on the processor.
Alternatively, you could write an extension function that retrieves
environment variable values. But that might have to be recoded if you
ever want to run on another processor.
--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry