Daniel Veillard | d541c8f | 2005-07-31 16:49:51 +0000 | [diff] [blame] | 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 |