Menu

processing xml tags

arkaitzm
2005-12-01
2013-04-11
  • arkaitzm

    arkaitzm - 2005-12-01

    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>

     
    • arkaitzm

      arkaitzm - 2005-12-01

      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

       
      • sierra_digital_solutions_corp

        please post your rules source xml and i can help.

         

Log in to post a comment.