Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xsl:variable no longer works after XALAN upgrade

Status
Not open for further replies.

janhes

Technical User
Jan 30, 2001
537
0
0
GB
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top