Hi,

I just want to know how I would do the following:
<root>
<test type=”1” value=”1” display=”disp”/>
<test type=”2” value=”100” />
</root>

I want the ‘display’ attribute to be available for use depending on what the value for the ‘type’ attribute is.

How can I do this in a XSD (XML schema)??

Thanks you in advance