Return to zvon15.sct CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / libxml2 / test / schematron |
libxml2
<schema xmlns="http://www.ascc.net/xml/schematron" > <pattern name="id is the only permited attribute name"> <rule context="*"> <report test="@*[not(name()='id')]">Attribute <name path="@*[not(name()='id')]"/> is forbidden in element <name/> </report> </rule> </pattern> </schema>