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