Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - How Check If One Element Or A Group Exists [Thread Next] RE: How Check If One Element Or A Group ExistsTo: "'Gary Fix'" <gary.fix@------.--->, <xmlschema-dev@--.---> Date: 9/30/2004 6:08:00 PM
Something like:
<choice>
<sequence>
<element ref="vin"/>
<group ref="separate" minOccurs="0"/>
</sequence>
<group ref="separate"/>
</choice>
Michael Kay
http://www.saxonica.com/
> -----Original Message-----
> From: xmlschema-dev-request@w...
> [mailto:xmlschema-dev-request@w...] On Behalf Of Gary Fix
> Sent: 30 September 2004 16:04
> To: xmlschema-dev@w...
> Subject: How Check If One Element Or A Group Exists
>
>
> Hi!
> How do I check for the existence of either an element such as
> an auto Vehicle Id Number (VIN) or a separate group of
> elements, such as auto body, make, model and year?
> I need to know if one (VIN) or the other (group) is supplied.
> Both may be supplied optionally.
> thanks in advance...gary...
>
>
>
>
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
