You cannot do this if you want to continue using simple XML Schema types. decimal and types derived from it are blocked until the period is used. As you say: the specification is here .
If you want to use a comma as a separator, you need to define your own simple type, for example:
<xs:simpleType name="MyDecimal"> <xs:restriction base="xs:string"> <xs:pattern value="\d+(,\d+)?"/> </xs:restriction> </xs:simpleType>
Before you do this, be careful; XML is a data storage format, not a presentation format. You might want to think about whether you sort it after loading or during XSLT conversion, etc.
source share