/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
- <?xml version="1.0" ?>
- <!-- this grammar will validate any well formed XML document.
- For a quick memory refresher, see http://relaxng.org/tutorial-20011203.html
- $Id: schema-relax-ng.vm 20081 2011-10-15 16:19:59Z kerik-sf $
- -->
- <grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
- xmlns="http://relaxng.org/ns/structure/1.0"
- datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
- <define name="any">
- <zeroOrMore>
- <choice>
- <attribute>
- <anyName/>
- <text/>
- </attribute>
- <element>
- <anyName/>
- <ref name="any"/>
- </element>
- <text/>
- </choice>
- </zeroOrMore>
- </define>
- <start>
- <ref name="any"/>
- </start>
- </grammar>