558452.rng 451 B

123456789101112131415161718192021
  1. <?xml version="1.0"?>
  2. <grammar ns="http://www.example.com/choice"
  3. xmlns="http://relaxng.org/ns/structure/1.0">
  4. <start>
  5. <element name="doc" ns="">
  6. <ref name="elem"/>
  7. <optional>
  8. <ref name="elem"/>
  9. <optional>
  10. <ref name="elem"/>
  11. </optional>
  12. </optional>
  13. </element>
  14. </start>
  15. <define name="elem">
  16. <element name="elem" ns="">
  17. <text/>
  18. </element>
  19. </define>
  20. </grammar>