OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xml-dev] <all> and minOccurs="0" Problem



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