Choice: attribute or child element

All,

Is there a way to write a schema to validate documents that look like: 
<a><b/></a>, or <a c="..."/> (i.e. the element "a" must have a child 
element "b" or an attribute "c", but not both)?

Alex

Received on Friday, 6 December 2002 18:17:25 UTC