Return to zvon9.sct CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / libxml2 / test / schematron |
Initial revision
<schema xmlns="http://www.ascc.net/xml/schematron" > <pattern name="Test attribute"> <rule context="CCC"> <report test="parent::BBB and not(@id)">Attribute id is missing</report> <report test="not(parent::BBB) and @id">Attribute id is used in wrong context</report> </rule> </pattern> </schema>