W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2001

Re: Question about complexType with unordered child elements with at least one child element

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Thu, 21 Jun 2001 11:13:54 +0200
Message-ID: <3B31BAD2.E46B8218@dyomedea.com>
To: xmlschema-dev@w3.org
"Anna A. Yacubovitch" wrote:
> 
> Hello!
> I need some help.
> I need a type that allows any order of child elements, every element can
> appear no more than a single time.
.../...
> I need at least one child element.

I don't think you can capture this with W3C XML Schema...

Try another schema language :=) ...

It would be obvious to express this with Schematron or Examplotron.

Hope this helps.

Eric

> Thanks
> 
> Anna Yacubovitch
> Anna@locationet.com
-- 
Pour y voir plus clair dans la nebuleuse XML...
                                          http://dyomedea.com/formation/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------
Received on Thursday, 21 June 2001 05:14:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:21 GMT