RE: [xsl] Format-number problem

Subject: RE: [xsl] Format-number problem
From: "Varley, Roger" <Roger.Varley@xxxxxxxxxxxxxx>
Date: Thu, 3 Feb 2005 12:19:45 -0000
> This would work if you defined "/" in your xsl:decimal-format as a
> grouping-separator. (It might, anyway: format-number() in
> XSLT 1.0 is badly
> under-specified).
close :)

Adding <xsl:decimal-format name="date" grouping-separator="/"/> and using
<xsl:value-of select="format-number(//E1EDK03[IDDAT='012']/DATUM,'####/##/##',

gives me 20/05/01/15

> A more orthodox approach would be a combination of
> substring() and concat().

I was hoping to avoid all that typing :)

Thanks for your prompt response.


This e-mail and the documents attached are confidential and intended
solely for the addressee; it may also be privileged. If you receive this
e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin group
liability cannot be triggered for the message content. Although the
sender endeavours to maintain a computer virus-free network, the sender
does not warrant that this transmission is virus-free and will not be
liable for any damages resulting from any virus transmitted.

Current Thread