Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Can choice appear 0 or more times? >Thread Next - Re: Can choice appear 0 or more times? Re: Can choice appear 0 or more times?To: NULL Date: 9/30/2005 3:39:00 PM Henry S. Thompson wrote: > Edwin Castro writes: > > > I'm trying to represent (a|b)* > > > > <xsd:choice minOccurs="0" maxOccurs="unbounded"> > > <xsd:element name="a" type="xsd:string"/> > > <xsd:element name="b" type="xsd:string"/> > > </xsd:choice> > > > > Is this legal? > > Yes, and it means what you want. Thanks. I have one more question... How would I determine the number of choices and which choices they are using XPath...? | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
