Defining Schema
-
Hello, I have one element named LoadConfig. It has one attribute named 'Type'. The attribute 'Type' can have two values('PreDefined' or 'UserDefined'). If attribute value is 'PreDefined', LoadConfig element can have 3 child elements. If attribute value is 'UserDefined' LoadConfig element can have any type xml nodes as its childnodes. Can anybody explain how to make schema for this. Thanks, Chito
-
Hello, I have one element named LoadConfig. It has one attribute named 'Type'. The attribute 'Type' can have two values('PreDefined' or 'UserDefined'). If attribute value is 'PreDefined', LoadConfig element can have 3 child elements. If attribute value is 'UserDefined' LoadConfig element can have any type xml nodes as its childnodes. Can anybody explain how to make schema for this. Thanks, Chito
I think you would be better off having two elements (LoadConfigDef, LoadConfigUser) with the parent having a selection of which one. ""