Mahitha B. wrote:
We recently bought 8 licenses of XMLMind XSL Utility 5.2.0 and after I
installed the tool, I’m not able to build books. Error image below.
The error is 100% correct: Method com.xmlmind.ditac.xslt.Number.format()
indeed does not exist in recent versions of XMLmind XSL Utility (since
2012, I think).
This problem is almost certainly caused by your custom XSLT stylesheet
C:\Subversion_trunk\tools\ditac\xsl\fo\fo_custom.xsl
1) Please make sure that this file imports the stock fo.xsl which comes
with XMLmind XSL Utility v5.2. That is, this custom XSLT stylesheet must
start with:
<xsl:import href="xslutil-config:dita/xsl/fo/fo.xsl"/>
Notice the "xslutil-config:" prefix. It guarantees that your custom XSLT
stylesheet imports the stock fo.xsl which comes with the installed
XMLmind XSL Utility.
If for any reason, you don't want to use this prefix, which is not
recommended, then please update your Subversion repository by copying
there all the files which come with XMLmind XSL Utility v5.2.
2) Unlikely, but may be you have written custom XSLT templates making
use of Number:format. In such case you'll have to change them to use the
standard number formatting facilities found in XSLT 2.0. Example:
---
<xsl:function name="num:roman" as="xs:string">
<xsl:param name="value" as="xs:integer"/>
<xsl:number value="$value" format="i"/>
</xsl:function>
---
See http://www.w3.org/TR/xslt20/#number
This really, really important. Unless you implement 1) and may be 2)
very carefully, I don't think you'll be able to generate documents using
your custom fo_custom.xsl.
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support