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

  • From: Ronald Bourret <rpbourret@r...>
  • To: "Stefán F. Stefánsson"<stefanf@m...>, xml-dev <xml-dev@l...>
  • Date: Fri, 12 Oct 2001 13:46:27 -0700

Sorry. The <all> tag doesn't support this. Children in an "all" content
model must occur 0 or 1 times.

-- Ron

Stefán F. Stefánsson wrote:
> 
> Hello all.
> 
> I've been going out of my mind trying to figure this one out... and I've
> seen it asked elsewhere but I could not for the life of me find an
> answer to it.
> 
> I just do not understand why I haven't been able to find an answer to
> this question... this must be a FAQ.
> 
> My question is:
> 
> How can I define an XML Schema that defines an element which has certain
> child elements and I need them all to appear but don't want to constrain
> the order of the children (so far this is just <xsd:all> but here's the
> twist) but I want one (or more...) of the elements to appear 0 or more
> times (not constrained to only one time as the <all/> does).

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