You can define uniqueness of certain values:
<unique name="dummy1"> <selector>regions/zip</selector> <field>@code</field> </unique>
means that the code attribute must be unique for the elements zip which are children of regions.
code
zip
regions
25 of 26