Hello
I am watching the examples about SRE and I observe that SRE only process the first tag in XML hierarchy.
For example.
If my xml model is this:
<foods>
<food>
<name>meat</name>
<limit>cholesterol</limit> //is bad for cholesterol
</food>
<food>
<name>chocolate</name>
<limit>diabetes</name>
</food>
</foods>
If I make a rule file that compare what food is bad for a person that has cholesterol, SRE only process the first food (meat) but not the second.
How can I do to process a list of foods and know who are bad for a person?.
I would be grateful for if someone could help me.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
I am watching the examples about SRE and I observe that SRE only process the first tag in XML hierarchy.
For example.
If my xml model is this:
<foods>
Hello
I am watching the examples about SRE and I observe that SRE only process the first tag in XML hierarchy.
For example.
If my xml model is this:
<foods>
<food>
<name>meat</name>
<limit>cholesterol</limit> //is bad for cholesterol
</food>
<food>
<name>chocolate</name>
<limit>diabetes</name>
</food>
</foods>
If I make a rule file that compare what food is bad for a person that has cholesterol, SRE only process the first food (meat) but not the second.
How can I do to process a list of foods and know who are bad for a person?.
I would be grateful for if someone could help me.
Thanks
please post your rules source xml and i can help.