thankyou tsuji !
I found this too :
<xs:simpleType name="tCode">
<xs:union>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="((A|a)|(B|b))"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction...
Hi,
I'm working with xml string validation against xsd schema.
I'm facing this problem . This is my xml string :
<A>
<Code></Code>
</A>
<Code> value is : 'A' , 'B' or empty string ('').
'A' , 'B' in lower and upper case .
xsd element definition :
<xs:element name="Code" type="tCode"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.