1 year ago
#386353
coutier eric
Prohibit addtionnal attributes in xsd
Is it possible to prohibit attributes other than those provided ?
Example : for node person, I define name
attribute only. Is it possible to prohibit others attributes to be inserted in the xml to be checked ?
<person name="smith" size="15" foo="bar">
</person>
Trigger an error on size
and foo
because other attributes than name
are not allowed.
xml
xsd
0 Answers
Your Answer