• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<schema xmlns="http://www.ascc.net/xml/schematron" >
2     <pattern name="Root test">
3          <rule context="/*">
4               <assert test="name()='AAA'">Root element is
5                    <name/>, not AAA
6               </assert>
7               <report test="name()='AAA'">Root element is AAA</report>
8          </rule>
9     </pattern>
10</schema>
11