Subject: Re: [xsl] FW: Xslt that worked for fop0.20.2 no longer works at later versions From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Mon, 28 Apr 2008 00:06:18 +0200 |
...I have been using fop 0.20.2 to produce pdf documents from xml using xsl.
When I run under fop-0.94 ...
FOP 0.20.2 implements an old draft of the XSLFO 1.0 standard. FOP 0.94 implements a subset of the standard. Some important details have changed, you'll have to rework your XSLT. Furthermore, FOP 0.94 validates the FO much more strictly by default.
The problem seems to be with locally declared variables within an xsl:for-each loop. I declare a variable globally, then set the value locally just before the</xsl:for-each>
This should never have worked, because you can't reassign a variable in XSLT.
When the processing moves back to the start on the xsl:for-each, the variable has the value of the global variable.
This is the expected outcome. Again, you probably have to rewrite your XSLT rather thoroughly.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] FW: Xslt that worked for fop0, Hesselberth, Jan | Thread | RE: [xsl] FW: Xslt that worked for , Hesselberth, Jan |
[xsl] Re: XSL/XPath 2.0 - most effi, Robert Koberg | Date | [xsl] Test for malformed XML, Lee, Betty |
Month |