I just want to know that how we can set in an xsd that Attribute value decide What should be the element. i.e
If the attribut value="abc" then the elemnt should be <abc> if it is not then the validation should be failed.

How we can do this..
Any help wiil be appreciable.