Can I specify in XSD for not accepting a particular pattern

Hi,

I am validating my XML file by means of an XSD. Can I specify in

the XSD for not accepting a particular pattern.

I don't want to accept the string containing pattern "'".

Becuase if it tries to get inserted into database error will occur.

Thanks in advance

prathibha

[330 byte] By [pprathi] at [2007-9-26 1:58:07]
# 1
<xsd:restriction base = "xsd:string"><xsd:pattern value = "/[^']+/"/></xsd:restriction>but i am not sure about the regular expression... do some research on it...
yue42 at 2007-6-29 3:15:30 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...