KlausCryl
31-10-07, 19:24
Hallo,
ich habe das XML toolkit (5733-XT2) auf unserer i5 installiert.
Wenn ich mit XALANEXE (oder SIMPLETRANS) eine XSLT-Transformation mache, wobei im Stylesheet format-number() verwendet wird, kommen Warnungen:
XSLT Warning: The function 'format-number()' is not implemented.
Source tree node: position. (line -1, column -1.)
Laut Doku sollte es aber funktionieren:
/QIBM/ProdData/xmltoolkit/xml5_5_0/doc/xslt4c/usagepatterns.html#icu
Die Doku sagt:
format-number()
The XSLT function, format-number(), includes two or three arguments
(the third is optional): number, format pattern, and decimal-format
|name. XSLT4C, by default, will ignore the format pattern and optional
decimal-format unless you install ICU. Since ICU is integrated with
XSLT4C, the format-number(), function is fully supported with all its
arguments.
Was mache ich falsch?
Ich wäre sehr dankbar für jegliche Hilfestellung.
Viele Grüße,
Klaus
PS: Momentan erledigt ein Java-Programm erfolgreich die Transformationen samt Zahlenformatierung, das ist mir aber zu langsam.
ich habe das XML toolkit (5733-XT2) auf unserer i5 installiert.
Wenn ich mit XALANEXE (oder SIMPLETRANS) eine XSLT-Transformation mache, wobei im Stylesheet format-number() verwendet wird, kommen Warnungen:
XSLT Warning: The function 'format-number()' is not implemented.
Source tree node: position. (line -1, column -1.)
Laut Doku sollte es aber funktionieren:
/QIBM/ProdData/xmltoolkit/xml5_5_0/doc/xslt4c/usagepatterns.html#icu
Die Doku sagt:
format-number()
The XSLT function, format-number(), includes two or three arguments
(the third is optional): number, format pattern, and decimal-format
|name. XSLT4C, by default, will ignore the format pattern and optional
decimal-format unless you install ICU. Since ICU is integrated with
XSLT4C, the format-number(), function is fully supported with all its
arguments.
Was mache ich falsch?
Ich wäre sehr dankbar für jegliche Hilfestellung.
Viele Grüße,
Klaus
PS: Momentan erledigt ein Java-Programm erfolgreich die Transformationen samt Zahlenformatierung, das ist mir aber zu langsam.