1 <grammar xmlns="http://relaxng.org/ns/structure/1.0"> 2 3 <start> 4 <ref name="anyElement"/> 5 </start> 6 7 <define name="anyElement"> 8 <element> 9 <anyName/> 10 <zeroOrMore> 11 <choice> 12 <attribute> 13 <anyName/> 14 </attribute> 15 <text/> 16 <ref name="anyElement"/> 17 </choice> 18 </zeroOrMore> 19 </element> 20 </define> 21 22 </grammar> 23