[ http://nagoya.apache.org/jira/browse/XALANJ-1900?page=history ]
Henry Zongaro updated XALANJ-1900:
----------------------------------
Priority: Major (was: Blocker)
Bugzilla Id: (was: 29784)
Priorty was inadvertently changed to "Blocker." Priority in bugzilla was
"normal," but there is no such priority in Jira, so I'm changing it to "Major."
> Output from xslt-functions number() and format-number()
> -------------------------------------------------------
>
> Key: XALANJ-1900
> URL: http://nagoya.apache.org/jira/browse/XALANJ-1900
> Project: XalanJ2
> Type: Bug
> Components: XPath-function
> Versions: 2.6
> Environment: Operating System: Windows NT/2K
> Platform: PC
> Reporter: stefan
>
> System:
> Microsoft Windows 2000 [Version 5.00.2195]
> JRE SUN 1.4.2_04 (build 1.4.2_04-b05)
> also tested with JRE 1.4.2_02
> I use xalan to create a html-document with a xml-file as data-source.
> Solution:
> To work correctly the functions (number() and format-number()) need as direct
> parent a xsl:block os xsl:inline.
> Problem:
> Otherwise the numeral 0 and numbers start with numeral 9 will not printed in
> the
> html-document. Other numbers are printed correct.
> not working sample:
> <xsl:template match="*" mode="formatnumber">
> <xsl:value-of select="format-number(., '#.###.##0,#####', 'european')"/>
> </xsl:template>
> working sample:
> <xsl:template match="*" mode="formatnumber">
> <fo:inline>
> <xsl:value-of select="format-number(., '#.###.##0,#####', 'european')"
> />
> </fo:inline>
> </xsl:template>
> With a <xsl:apply-templates select="./value" mode="formatnumber" /> on the
> right
> place.
> bye
> Stefan
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]