1 <schema xmlns="http://www.ascc.net/xml/schematron" > 2 <pattern name="Sum equals 100%."> 3 <rule context="Total"> 4 <assert test="sum(//Percent) = 100">The values do not sum to 100%. </assert> 5 </rule> 6 </pattern> 7 </schema> 8