1<element name="html" xmlns="http://relaxng.org/ns/structure/1.0"> 2 <element name="head"> 3 <element name="title"> 4 <text/> 5 </element> 6 </element> 7 <element name="body"> 8 <element name="table"> 9 <attribute name="class"> 10 <value>addressBook</value> 11 </attribute> 12 <oneOrMore> 13 <element name="tr"> 14 <attribute name="class"> 15 <value>card</value> 16 </attribute> 17 <element name="td"> 18 <attribute name="class"> 19 <value>name</value> 20 </attribute> 21 <interleave> 22 <text/> 23 <optional> 24 <element name="span"> 25 <attribute name="class"> 26 <value>givenName</value> 27 </attribute> 28 <text/> 29 </element> 30 </optional> 31 <optional> 32 <element name="span"> 33 <attribute name="class"> 34 <value>familyName</value> 35 </attribute> 36 <text/> 37 </element> 38 </optional> 39 </interleave> 40 </element> 41 <element name="td"> 42 <attribute name="class"> 43 <value>email</value> 44 </attribute> 45 <text/> 46 </element> 47 </element> 48 </oneOrMore> 49 </element> 50 </element> 51</element> 52 53 54