blob: 7a10a370f15048ba4dfe1b2b6ba43c21dd6cc93a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output indent="yes"/>
<xsl:template match="/">
<result>
<number>
<xsl:number format="1" value="3.51"/>
</number>
<number>
<xsl:number format="1" value="-123.456"/>
</number>
<number>
<!-- 2 ** 53 -->
<xsl:number format="1" value="9007199254740992"/>
</number>
<number>
<xsl:number format="a" value="3.51"/>
</number>
<number>
<xsl:number format="a" value="-123.456"/>
</number>
<number>
<xsl:number format="a" value="0"/>
</number>
<number>
<xsl:number format="a" value="9007199254740992"/>
</number>
<number>
<xsl:number format="I" value="3.51"/>
</number>
<number>
<xsl:number format="I" value="-123.456"/>
</number>
<number>
<xsl:number format="I" value="0"/>
</number>
<number>
<xsl:number format="I" value="9007199254740992"/>
</number>
</result>
</xsl:template>
</xsl:stylesheet>
|