[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Schema constraint
- From: Phil Ruelle <philr@iplbath.com>
- To: xml-dev@lists.xml.org
- Date: Fri, 06 Jul 2001 16:32:36 +0100
Can anyone tell me if it's possible to write a constraint with XML
Schema to enforce that for an element with two child elements at
least one of them exists? (I thought this had been asked before but
couldn't find it in the archives)
On a related note, why would somene choose to use <group>
rather than a complex type? I can't help but think I've missed
something as groups seem to be a limited (must be global, no
attributes) version of complex types.
TIA,
Phil Ruelle