XSD Attributes Validation

Hello guys,

I am rather new to XSD, so I am sorry if my question is a bit dumb...
Anyway, I have this problem with validating attributes. I have a case where I need to assure that one attribute needs to be shown if and only if another attribute is shown.

For example:
<Report searchable="true" searchSize="10"/>
<!-- Is OK and -->
<Report searchable="true"/>
<!-- is also OK -->
<!-- but, in a case like this: -->
<Report searchSize="10"/>
<!-- I expect the schema to alert me-->

Can you please let me know how it is done?

Thanks a lot.
[648 byte] By [tlsn2] at [2007-11-20 5:33:23]