tutor13_1.rng 577 B

123456789101112131415161718192021222324252627282930313233
  1. <grammar xmlns="http://relaxng.org/ns/structure/1.0">
  2. <start>
  3. <element name="doc">
  4. <zeroOrMore>
  5. <choice>
  6. <element name="p">
  7. <ref name="inline"/>
  8. </element>
  9. <grammar>
  10. <include href="table.rng">
  11. <define name="cell.content">
  12. <parentRef name="inline"/>
  13. </define>
  14. </include>
  15. </grammar>
  16. </choice>
  17. </zeroOrMore>
  18. </element>
  19. </start>
  20. <define name="inline">
  21. <zeroOrMore>
  22. <choice>
  23. <text/>
  24. <element name="em">
  25. <ref name="inline"/>
  26. </element>
  27. </choice>
  28. </zeroOrMore>
  29. </define>
  30. </grammar>