[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] unbounded element within an <all> tag
- From: Ronald Bourret <firstname.lastname@example.org>
- To: "Stefán F. Stefánsson"<email@example.com>, xml-dev <firstname.lastname@example.org>
- 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.
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).