Applying conditions in XSD
XML / XSL
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I need to add, remove or make optional, some elements based on the values of an attribute of the parent element. I have an element "report" that has an attribute "investortype", which can have 3 possible values: "none", "indvidual" and "group". Now what i need is, to create/modify elements in the report element based on these 3 values. The following example will elaborate: investortype = "individual" --------------------------- investortype = "group" --------------------------- investortype = "none" --------------------- Any help or hint would be great. Also i need to know if this is even possible in XSD? Awaiting reply and Thanx in advance ☺«««DTA»»»☺