Page 1 of 1

using application variable (global.asa) in XSLT

Posted: Thu Jun 21, 2007 7:45 pm
by rhoenig
I have a project where I want to add a url to an XSLT but want to be able to change it in the global.asa? Can I add the Application("url") to the XSLT so then I don't have to change my template everytime I create a new website, I just change the global.asa?

Posted: Fri Jun 22, 2007 11:08 am
by sorin_ristache
Hello,

If you don't want to change a template in an XSLT when the XSLT is used to create a new website I think you should use an XSLT parameter for the application URL. You declare it in the XSLT using the xsl:param element.


Regards,
Sorin