W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2002

How to handle Currency

From: Pastor.Phil <pastor@brulant.com>
Date: Mon, 18 Feb 2002 12:10:10 -0500 (EST)
Message-Id: <200202181709.MAA18551@tux.w3.org>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Greetings,
 
I have an XML document that stores currency amounts with all punctuation
(eg. $1,234.00). A primitive data type will not work for this (other than
string). Is there a way to validate an amount greater than $0.00 ? Should I
use a pattern facet ?
 
Phil
 
Received on Tuesday, 19 February 2002 06:40:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:26 GMT