<sch:schema xmlns:sch="http://www.ascc.net/xml/schematron" >
<sch:title>Test 2 (
<sch:dir value="ltr">DIR - ltr </sch:dir>)
</sch:title>
<sch:p>Schema description above 1 (
<sch:span class="red">Span</sch:span>,
<sch:emph>EMPH</sch:emph>,
<sch:dir value="ltr">DIR - ltr </sch:dir>)
</sch:p>
<sch:p id="p2" class="someclass" icon="bilby.jpg">Schema description above 2</sch:p>
<sch:pattern name="The first pattern" see="someDoc1">
<sch:p>Pattern description p1 (
<sch:span class="red">Span</sch:span>,
<sch:emph>EMPH</sch:emph>,
<sch:dir value="ltr">DIR - ltr </sch:dir>)
</sch:p>
<sch:p>Pattern description p2</sch:p>
<sch:rule context="/">
<sch:assert test="AAA">Context: / ; assert: AAA</sch:assert>
<sch:report test="AAA">Context: / ; report: AAA</sch:report>
<sch:assert test="BBB">Context: / ; assert: BBB</sch:assert>
<sch:report test="BBB">Context: / ; report: BBB</sch:report>
</sch:rule>
<sch:rule context="@ccc">
<sch:assert test=".=1">Context: @ccc ; assert: .=1</sch:assert>
<sch:report test=".=1">Context: @ccc ; report: .=1</sch:report>
<sch:assert test=".=2" icon="bilby.jpg">Context: @ccc ; assert: .=2</sch:assert>
<sch:report test=".=2" icon="bilby.jpg">Context: @ccc ; report: .=2</sch:report>
</sch:rule>
</sch:pattern>
<sch:pattern name="The second pattern" see="someDoc2">
<sch:rule context="@ccc">
<sch:assert test=".=1">Context: @ccc ; assert: .=1</sch:assert>
<sch:report test=".=1">Context: @ccc ; report: .=1</sch:report>
<sch:assert test=".=2">Context: @ccc ; assert: .=2</sch:assert>
<sch:report test=".=2">Context: @ccc ; report: .=2</sch:report>
</sch:rule>
</sch:pattern>
<sch:p>Schema description below 1</sch:p>
<sch:p>Schema description below 2 (
<sch:span class="red">Span</sch:span>,
<sch:emph>EMPH</sch:emph>,
<sch:dir value="ltr">DIR - ltr </sch:dir>)
</sch:p>
</sch:schema>