XML Numeric Values Format Specification
These qualifiers are used to customize the encoding format of numeric values (XSD double, decimal, or float types). It is sometimes necessary to have numbers formatted in a certain way (for example, a decimal value format such as"+0012.00"). By default, all leading and trailing zeros are omitted, as well as the positive sign, so the value above will be encoded as "12". It is possible using these qualifiers to specify the exact required format of such values. This can be done at any scope - global, schema or node. To customize the format of all decimal, double or float values at the global or schema level, use the <decimalFormat>, <doubleFormat> and <floatFormat> configuration elements respectively. For the node scope, use <numericFormat> element.
<decimalFormat | doubleFormat | floatFormat | numericFormat [totalDigits="xs:byte"] [fractionDigits="xs:byte"] [fractionMinDigits="xs:byte"] [integerMaxDigits="xs:byte"] [integerMinDigits="xs:byte"] [expSymbol="xs:token"] [expMinValue="xs:short"] [expMaxValue="xs:short"] [expDigits="xs:byte"] [signPresent="xs:boolean"] [pointPresent="xs:boolean"] [expSignPresent="xs:boolean"] [expPresent="xs:boolean"] >
Copyright © Objective Systems 2002-2008 This document may be distributed in any form, electronic or otherwise, provided that it is distributed in its entirety and that the copyright and this notice are included. |
Objective Systems, Inc.55 Dowlin Forge RoadExton, Pennsylvania 19341 http://www.obj-sys.com Phone: (484) 875-9841 Toll-free: (877) 307-6855 (US only) Fax: (484) 875-9830 info@obj-sys.com |