1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-15 23:24:06 +03:00
libxml2/test/schematron/zvon8.sct
Daniel Veillard d541c8f8b4 report improvement more tests Daniel
* schematron.c: report improvement
* test/schematron/zvon* result/schematron/zvon*: more tests
Daniel
2005-07-31 16:49:51 +00:00

11 lines
416 B
Plaintext

<schema xmlns="http://www.ascc.net/xml/schematron" >
<pattern name="Test count">
<rule context="/*">
<report test="count(//BBB) = count(//AAA)">O.K.</report>
<assert test="count(//BBB) &lt;= count(//AAA)">Some AAA are missing</assert>
<report test="count(//BBB) &lt; count(//AAA)">Some BBB are missing</report>
</rule>
</pattern>
</schema>