pattern « XML Schema « XML Tutorial
list of atoms that match a single character
Unicode character classes
User-defined character classes
These three characters should be used with caution:
A character class expression is simply a character group, enclosed in square brackets
Any single normal character will match only that character
Special regex characters (-) cannot be used for the single normal character form of the character range.
Any ASCII letter: adding a second character range to the character group expression
To match a string of any length (including the empty string) that is comprised exclusively of lower-case ASCII letters
Specifying a Pattern for a Simple Type
Pattern for time
You can use patterns to offer choices for an element's content.
Getting rid of leading zeros
Use quantifiers to limit the number of leading zeros-for instance
Merge our three patterns into one
pattern Constrains the lexical space to literals that must match a defined pattern
A phone number
Define a pattern that can be used for zip codes
pattern: USA_SSN datatype
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.