Asadov1987
New Member
If I wanted to define an XSD file for:\[code\]<state id="1" name="S1"><state id="2" name="S2"><state id="3" name="S3"><transition fromState="1" toState="2">\[/code\]How can I restrict, in the XSD file, the attributes \[code\]fromState\[/code\] and \[code\]toState\[/code\] to get only values that were declared on the \[code\]state\[/code\] elements \[code\]id\[/code\]?The XSD definition does not seem to have such feature, but take Android XML layouts, somehow the Eclipse Android XML editor knows which ids to put in the content assisted list.