zvon15.sct 382 B

1234567891011
  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>