blob: 343f294551a726d9b5ba11f76109b26b58cfeefc [file] [log] [blame]
<element name="root" xmlns="http://relaxng.org/ns/structure/1.0">
<choice>
<element name="child">
<attribute name="type">
<value>Foo</value>
</attribute>
<!-- Define stuff that's only valid when type is "Foo" -->
</element>
<element name="child">
<attribute name="type">
<value>Bar</value>
</attribute>
<!-- Define stuff that's only valid when type is "Bar" -->
</element>
</choice>
</element>