[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Determining Web server address in xslt doc


Subject: [xsl] Determining Web server address in xslt doc
From: Lee Surma <vandalia5@xxxxxxxxx>
Date: Mon, 26 Jan 2009 12:35:30 -0800 (PST)

FYI I am a newbie who has been tasked with maintaining

some existing XSLT. I would like to make some XSLT dynamic
across environments using a choose statement.

Is there a way I can determine the root of the Web server
where the XSLT document is so I can hard code URL
addresses etc based on if I'm in Dev vs Production?
Example:
dev.imanewbiefool.com Vs
uat.imanewbiefool.com or
www..imanewbiefool.com

In HTML you can use the CGI REMOTE_HOST variable.


Lee


Current Thread
Keywords