XML Referencing?

admin

Administrator
Staff member
Hi, I'm new to XML so I'm not sure if this is possible but if it is could someone point me in the right direction.

I have defined in XML an element called businessRules each rule is given a name like Rule1, Rule2, Rule3 etc.

What I'm trying to do now is define an element ruleGroup
where ruleGroup1 can contain Rule1 and Rule2 and ruleGroup2 can contain Rule1 and Rule3 etc.

However I do not want to repleat the definitions of Rule1 in every group it is assigned too.

Is there a way I can make ruleGroup1 and ruleGroup2 both include Rule1?


Thank you
 
Back
Top