Page 1 of 1

Pattern Value no spaces

Posted: Thu Feb 09, 2006 2:43 pm
by geoff123
can anyone tell me the pattern value syntax for saying the simple type many not contain the space character.... thanks

Posted: Thu Feb 09, 2006 4:55 pm
by george
Hi,

<xs:pattern value="\S*"/>

See also
http://www.w3.org/TR/xmlschema-2/#nt-WildcardEsc

Best Regards,
George

Posted: Thu Feb 09, 2006 5:33 pm
by geoff123
thanks .... spot on!