I want to check a XML-Element-Value in the XSD, if the Element has a specific value an other value must be required in the XML.
Example:
<root>
<Element1>test</Element1>
<Element2>value</Element2>
</root>
Now I want to check in the XSD if the value of Element1 is "test", when the condition is true Element2 the Element must be required.
Is this possible?
Thanks for your help.