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