M
Maxim
If there is a document like this:
<Configurations>
<Configuration default="true">
...
</Configuration>
<Configuration>
...
</Configuration>
...
</Configurations>
How can I ensure with a schema that only 0 or 1 <Configuration>
element has the "default" attribute set to "true"?
I suppose this is a fairly common problem and someone somewhere must
have gone through this already. Appreciate any hints.
Thanks,
Maxim
<Configurations>
<Configuration default="true">
...
</Configuration>
<Configuration>
...
</Configuration>
...
</Configurations>
How can I ensure with a schema that only 0 or 1 <Configuration>
element has the "default" attribute set to "true"?
I suppose this is a fairly common problem and someone somewhere must
have gone through this already. Appreciate any hints.
Thanks,
Maxim