I am having some problems here. I need to restrict an element of an XML document, using an XML Schema. The part I need help on, is restricting the phone number. I have the phone number element, "phone", broken into 3 sub-elements, called "area" for area code, "exchange" for the first 3 numbers, and "postfix" for the last 4 numbers. What I need to do is restrict the exchange number to not be 911 or 000, but any other 3 number combination is fine. I have it working to where it requires 3 numbers
<xs: pattern value=http://www.webdeveloper.com/forum/archive/index.php/"[0-9]{3}"/>
like so, but somehow I need it to not allow "911" or "000"
I am clueless!
<xs: pattern value=http://www.webdeveloper.com/forum/archive/index.php/"[0-9]{3}"/>
like so, but somehow I need it to not allow "911" or "000"
I am clueless!