|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Mobile phone numbers
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








