Chin Jin Phua wrote:
Anyone know how to specify a <XS:Pattern> so as to include a set of
allowable characters? For example, I would like to allow all characters
except QUOTE, PERCENT and AMPERSAND? Is that even possible to specify it in
the XSD Schema?
The regular expression pattern language is defined here:
<http://www.w3.org/TR/xmlschema-2/#regexs>
it allows 'negative character groups' with [^list-of characters-here] e.g.
[^'%&]
of course inside of an XML document you need to escape the ampersand e.g.
[^'%&]
--
Martin Honnen
http://JavaScript.FAQTs.com/