Quote:
quote:Originally posted by will.richardson
Hello,
I would like my stylesheet to be dynamic based on the xml document. By this i want to show a disclaimer if there are certain criteria in the xml.
|
Hi,
it's hard to say something... show us what you want to do (xml doc and xsl stylesheet).
Quote:
quote:
i have tried to set a global variable in the stylesheet but when i set the value in the for-each block the value does not change after the for-each block.
|
XSLT is a functional programming language: you can't update the value of a variable(in the xsl:for-each you declare new variable which is in the "local" scope). Again, show us the code, and we'll try to find a solution according to XSLT.
Regards,
Armen