Re: [xml-dev] RELAX NG require oneOrMore optional elements

From
MURATA Makoto (FAMILY Given) <>
To
Date
2008-07-15T21:43:36Z
ID
<>
Thread
Re: [xml-dev] RELAX NG require oneOrMore optional elements
You appear to be asking for a compact rewrite of

  child1 | child2 | (child1, child2) | (child2, child1)

Unfortunately, RELAX NG does not allow such compact rewrites.

Rick's suggestion (two RNG schemas, or the combination of 
an RNG and a Schematron) is the best we can do.

Cheers,

-- 
MURATA Makoto (FAMILY Given) <>