Jump to content

Help with pattern


drfernandez

Recommended Posts

  • 3 weeks later...

Perhaps using both a min/maxInclusive and a pattern with a negative selection would do the trick:

<xs:simpleType>  <xs:restriction base="xs:integer">	<xs:minInclusive value="0"/>	<xs:maxInclusive value="511"/>	<xs:pattern value="(?!([1-3]|9|[12-13])$)"/>  </xs:restriction></xs:simpleType>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...