xsl-list
[Top] [All Lists]

referencing a variable of a URL in a script tag

2004-12-06 09:36:37

Howdy
in my XSL file I need to include references to some javascript files (i.e  

                      script language="JavaScript" 
src="https://mycomputer.mycompany.com:7004/myapplication/js/common.js";></script>
              <script language="JavaScript" 
src="https://mycomputer.mycompany.com:7004/myapplication/js/containerList.js";></script>

This works fine... However, for production, the URL will invariably be 
different for each installation. So I need to replace the specific URL with a 
variable that could be stored in one central file and referenced

like <script language="JavaScript" 
src="https://SERVERADDRESS/myapplication/js/common.js";></script>

Therefore, we would only have to edit the one central files to specific the 
SERVERADDRESS variable (i.e. SERVERADDRESS="yourcomputer.yourcompany.com)

Could some be kind enough to show me how this is done.

Thanks

Jeff Graber
NG/IT/TASC
703 312 2289


--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>