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

  • From: Phil Ruelle <philr@i...>
  • To: xml-dev@l...
  • 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

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