[Home] [By Thread] [By Date] [Recent Entries]

  • From: Radek Wisniewski <rw@d...>
  • To: xml-dev@l...
  • Date: Thu, 13 Sep 2001 12:45:05 +0200 (CEST)

Any particle of <all> construct may appear null or one time.

How can I build valid XML Schema that allow to awoid some subelemnts?

Simple deklaration:

<complexType>
 <all>
  <element ...>
   ...

works not well, xerces claims if i avoid any of the subelemnts.
There is an attribute <all minOccurs="0|1"> but I dont know how to use
that and what it exactly mean in <all> element.

I'v spent al lot of time but couldn't solve the problem, please give me
any advice.


Radek Wisniewski
www.datenknecht.de


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member