Mega Code Archive

 
Categories / XML Tutorial / XML Schema
 

A character class expression is simply a character group, enclosed in square brackets

For example,  if we wanted to allow any single upper  case ASCII letter: <xs:pattern value="[A-Z]" /> uses the "s-e range" form, a contiguous range of character values beginning with the min value and up to and including the max value.  <xs:pattern value="[min-max]" />