Return to zvon15.sct CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / libxml2 / test / schematron |
1.1 ! misho 1: <schema xmlns="http://www.ascc.net/xml/schematron" > ! 2: <pattern name="id is the only permited attribute name"> ! 3: <rule context="*"> ! 4: <report test="@*[not(name()='id')]">Attribute ! 5: <name path="@*[not(name()='id')]"/> is forbidden in element ! 6: <name/> ! 7: </report> ! 8: </rule> ! 9: </pattern> ! 10: </schema> ! 11: