<element name="data" xmlns="http://relaxng.org/ns/structure/1.0">
  <choice>
    <externalRef href="pattern1.rng"/>
    <externalRef href="pattern2.rng"/>
  </choice>
</element>