Can I test for an ASP session variable with the XSLT <xsl:when> statement?
Posted on 2006-05-16
Is there a way to use the xsl 'when' statement with an asp variable? I have an ASP page that has xslt in it, and it has a session variable that is set to 'metasecured'. I am wanting to test for this with the xslt. The session variable is not in the xml, so I don't know if this is possible. My session variable is set at the top of the asp page, like so, 'metasecured = SESSION("metasecured")'.
I have tried the below arrangments and all of them produce asp errors that point at the quotation marks and say, "Expected end of statement" or something like that...