PageRenderTime 100ms CodeModel.GetById 98ms app.highlight 1ms RepoModel.GetById 1ms 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
 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
 8<start>
 9  <element name="doc">
10    <zeroOrMore>
11      <choice>
12	<element name="p">
13	  <ref name="inline"/>
14	</element>
15	<grammar>
16	  <include href="table.rng">
17	    <define name="cell.content">
18	      <parentRef name="inline"/>
19	    </define>
20          </include>
21	</grammar>
22      </choice>
23    </zeroOrMore>
24  </element>
25</start>
26
27<define name="inline">
28  <zeroOrMore>
29    <choice>
30      <text/>
31      <element name="em">
32        <ref name="inline"/>
33      </element>
34    </choice>
35  </zeroOrMore>
36</define>
37
38</grammar>