- From: David Vázquez Guerrero <d_vazquez_g@yahoo.com>
- Date: Thu, 14 Sep 2000 10:50:04 -0500 (CDT)
- To: xmlschema-dev@w3.org
Hi again So far, I have used regular expresions only to constraint values for strings. For example: <!-- Accepts numbers from 1 to 119, excluding 2,3 and 10 --> <simpleType name="simpleTrendCNCAddress1Type" base="string"> <pattern value="1|[4-9]|1[1-9]|[2-9][0-9]|1[0-1][0-9]"/> </simpleType> As you can see, this regular expression restricts numeric values. Does anybody know if I can have the same result using a numeric data type? Many thanks, David _________________________________________________________ Do You Yahoo!? Obtenga su dirección de correo-e gratis @yahoo.com en http://correo.espanol.yahoo.com
Received on Thursday, 14 September 2000 11:50:06 UTC