[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mobile phone numbers
- From: topper harley <bicepmaximus@hotmail.com>
- To: xml-dev@lists.xml.org
- Date: Fri, 07 Sep 2001 15:39:50 +1000
Hi,
i wanted to write a pattern value string that reads in a mobile phone
number of the pattern 0412867576 or +61412867576 only. At the moment i am
using this check
<xsd:simpleType name="Mobile">
<xsd:restriction base="xsd:string">
<xsd:pattern value="<04?[0-9]{8}> | <+614?[0-9]{7}>"/>
</xsd:restriction>
</xsd:simpleType>
is this correct or any help would be great!
Topper
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp