Hello everyone,

I have the following XML file, I want to generate related XSD file with the following requirements, does anyone have ideas?

1. I want the addition result of each percentage items under each rules entry to be 100 (it represent research budget percentage for each Lab, so must be 100% when added together);
2. I want the version of department to be 1.0, no other values;
3. I want the option to be either "default" or "needApproval".

Any ideas about how to make the xsd generated by xsd tool to be able to handle the 3 additonal requirements?

[Code]


 
   
 

 
   
   
 


[/Code]

thanks in advance,
George