We use xsl to generate PDF files using fop 0.20.2 - i know a very old version.
We have some xsl that uses local variables in contitional statements. When this is run against versions on Xalan-2.0.0.jar everything is ok. On later versions the local variables no longer work.
Does anyone know how to get round this problem?
My issue is that I'm sorting the xml and wanting to supress printing repeating items so I set a global variable and within the for-each at the end of the loop in the sort I make a variable = the current value being processed then check the next time around if the current value = the variable and if it does, supress the print.
We have some xsl that uses local variables in contitional statements. When this is run against versions on Xalan-2.0.0.jar everything is ok. On later versions the local variables no longer work.
Does anyone know how to get round this problem?
My issue is that I'm sorting the xml and wanting to supress printing repeating items so I set a global variable and within the for-each at the end of the loop in the sort I make a variable = the current value being processed then check the next time around if the current value = the variable and if it does, supress the print.