inline2.rng 393 B

123456789101112131415161718192021
  1. <grammar xmlns="http://relaxng.org/ns/structure/1.0">
  2. <define name="inline">
  3. <zeroOrMore>
  4. <ref name="inline.class"/>
  5. </zeroOrMore>
  6. </define>
  7. <define name="inline.class">
  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. </choice>
  17. </define>
  18. </grammar>