![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - XSD Restriction >Thread Next - Re: XSD Restriction Re: XSD RestrictionTo: NULL Date: 8/1/2007 4:32:00 PM If you can have one or the other don't you need xs:choice? -- Joe Fawcett (MVP - XML) http://joe.fawcett.name <ibrahimover@g...> wrote in message news:1185978484.257637.232280@o...... Hello, im new to XML and XSD and i have some problems on restrictions. i want to use it for updateing subscription so i can update it with ÝD or with Emai so i must have one of them but it doesnt matter which one. i tried below but with that i may not have both email and id is there any way to solve this problem? <xs:element name="UpdateSubscriptionRequest"> <xs:complexType> <xs:all> <xs:element name="CCID" type="XXX:CCID" minOccurs="0" maxOccurs="1" /> <xs:element name="Email" type="XXX:EmailType" minOccurs="0" maxOccurs="1" /> </xs:all> </xs:complexType> </xs:element> | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||
|
