XML schema - how to bind existence of one attribute to existence of another attribute
- by mayap
Hellow all,
I have the following xml lines:
"phone" and "city" attributes are optional, but if "phone" exists, also "city" should exists and vise versa. Is it possible to insert such restriction to XML schema?
Thanks.