tutor4_4.rng 580 B

12345678910111213141516171819202122232425262728
  1. <grammar xmlns="http://relaxng.org/ns/structure/1.0">
  2. <start>
  3. <element name="p">
  4. <ref name="inline"/>
  5. </element>
  6. </start>
  7. <define name="inline">
  8. <choice>
  9. <text/>
  10. <element name="bold">
  11. <ref name="inline"/>
  12. </element>
  13. <element name="italic">
  14. <ref name="inline"/>
  15. </element>
  16. <element name="span">
  17. <optional>
  18. <attribute name="style"/>
  19. </optional>
  20. <ref name="inline"/>
  21. </element>
  22. </choice>
  23. <optional>
  24. <ref name="inline"/>
  25. </optional>
  26. </define>
  27. </grammar>