using application variable (global.asa) in XSLT

Here should go questions about transforming XML with XSLT and FOP.
rhoenig
Posts: 1
Joined: Thu Jun 21, 2007 7:44 pm

using application variable (global.asa) in XSLT

Post 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?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post 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
Post Reply