document.rng 571 B

123456789101112131415161718192021
  1. <grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
  2. <start>
  3. <element name="document">
  4. <attribute name="id">
  5. <data type="nonNegativeInteger"/>
  6. </attribute>
  7. <element name="label">
  8. <data type="string"/>
  9. </element>
  10. <oneOrMore>
  11. <element name="variant">
  12. <attribute name="lang">
  13. <data type="language"/>
  14. </attribute>
  15. <data type="string"/>
  16. </element>
  17. </oneOrMore>
  18. </element>
  19. </start>
  20. </grammar>