PageRenderTime 43ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
Unknown | 26 lines | 23 code | 3 blank | 0 comment | 0 complexity | 21f7cb580d8043f315d5102d09b33b12 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. <define name="cell.content">
  8. <notAllowed/>
  9. </define>
  10. <start>
  11. <element name="table">
  12. <oneOrMore>
  13. <element name="tr">
  14. <oneOrMore>
  15. <element name="td">
  16. <ref name="cell.content"/>
  17. </element>
  18. </oneOrMore>
  19. </element>
  20. </oneOrMore>
  21. </element>
  22. </start>
  23. </grammar>