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 12