[Home] [By Thread] [By Date] [Recent Entries]

  • From: topper harley <bicepmaximus@h...>
  • To: xml-dev@l...
  • 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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member