PageRenderTime 41ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/bundles/plugins-trunk/XML/test_data/parentRef/actual_table.rng

#
Unknown | 38 lines | 35 code | 3 blank | 0 comment | 0 complexity | 90d3a9bdd39f56d93f9286296f4ecb7d MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. <?xml version="1.0" ?>
  2. <!-- example taken from the RelaxNG Tutorial
  3. http://www.relaxng.org/tutorial-20011203.html
  4. Copyright The Organization for the Advancement of Structured Information Standards [OASIS] 2001. All Rights Reserved.
  5. -->
  6. <grammar xmlns="http://relaxng.org/ns/structure/1.0">
  7. <start>
  8. <element name="doc">
  9. <zeroOrMore>
  10. <choice>
  11. <element name="p">
  12. <ref name="inline"/>
  13. </element>
  14. <grammar>
  15. <include href="table.rng">
  16. <define name="cell.content">
  17. <parentRef name="inline"/>
  18. </define>
  19. </include>
  20. </grammar>
  21. </choice>
  22. </zeroOrMore>
  23. </element>
  24. </start>
  25. <define name="inline">
  26. <zeroOrMore>
  27. <choice>
  28. <text/>
  29. <element name="em">
  30. <ref name="inline"/>
  31. </element>
  32. </choice>
  33. </zeroOrMore>
  34. </define>
  35. </grammar>