[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[xml-dev] <all> and minOccurs="0" Problem
- From: Radek Wisniewski <rw@datenknecht.de>
- To: xml-dev@lists.xml.org
- 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