1# This is a sample RNC file from the tutorial for the 2003 Working Draft 2# http://relaxng.org/compact-tutorial-20030326.html 3 4element html { 5 element head { 6 element title { text } 7 }, 8 element body { 9 element table { 10 attribute class { "addressBook" }, 11 element tr { 12 attribute class { "card" }, 13 element td { 14 attribute class { "name" }, 15 mixed { 16 element span { 17 attribute class { "givenName" }, 18 text 19 }?, 20 element span { 21 attribute class { "familyName" }, 22 text 23 }? 24 } 25 }, 26 element td { 27 attribute class { "email" }, 28 text 29 } 30 }+ 31 } 32 } 33} 34