tutor2_1.rng 587 B

123456789101112131415161718192021222324252627
  1. <element name="addressBook" xmlns="http://relaxng.org/ns/structure/1.0">
  2. <zeroOrMore>
  3. <element name="card">
  4. <choice>
  5. <element name="name">
  6. <text/>
  7. </element>
  8. <group>
  9. <element name="givenName">
  10. <text/>
  11. </element>
  12. <element name="familyName">
  13. <text/>
  14. </element>
  15. </group>
  16. </choice>
  17. <element name="email">
  18. <text/>
  19. </element>
  20. <optional>
  21. <element name="note">
  22. <text/>
  23. </element>
  24. </optional>
  25. </element>
  26. </zeroOrMore>
  27. </element>