Hello, I'm working with XML Schema and I have a question.
What of you want to let an attribute A restrict the use of another attribute B in the same element. For instance, if A="true" then B="4" | "3" | "1", and if A="false" then B="0"
As far as I can see you can't do that in XML Schema at all? :/
I'm assuming the same holds for DTD.
/Gabriel
What of you want to let an attribute A restrict the use of another attribute B in the same element. For instance, if A="true" then B="4" | "3" | "1", and if A="false" then B="0"
As far as I can see you can't do that in XML Schema at all? :/
I'm assuming the same holds for DTD.
/Gabriel