PageRenderTime 59ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/bundles/plugins-trunk/XML/templates/schema-relax-ng.vm

#
Unknown | 31 lines | 27 code | 4 blank | 0 comment | 0 complexity | 82f5c2976df06b2564dd99b75b8eaa24 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. <!-- this grammar will validate any well formed XML document.
  3. For a quick memory refresher, see http://relaxng.org/tutorial-20011203.html
  4. $Id: schema-relax-ng.vm 20081 2011-10-15 16:19:59Z kerik-sf $
  5. -->
  6. <grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
  7. xmlns="http://relaxng.org/ns/structure/1.0"
  8. datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
  9. <define name="any">
  10. <zeroOrMore>
  11. <choice>
  12. <attribute>
  13. <anyName/>
  14. <text/>
  15. </attribute>
  16. <element>
  17. <anyName/>
  18. <ref name="any"/>
  19. </element>
  20. <text/>
  21. </choice>
  22. </zeroOrMore>
  23. </define>
  24. <start>
  25. <ref name="any"/>
  26. </start>
  27. </grammar>