i have an xml file, i have some values like good, and bad, with Tag Quality. I want to read the xml file and print the ones which are Bad, in the Excel sheet which is existing. Can anyone help me Please. My XML file looks same as Below. So in that text i want to write entire HYDR. instrument id, HYDR.Quality" Only for Bad Values in HYDR.Quality Element.
<HYDR.Instrument id="ABR">
<HYDR.Quality>Good</HYDR.Quality>
<HYDR.Value>0</HYDR.Value>
</HYDR.Instrument>
<HYDR.Instrument id="ABR_DUMMY">
<HYDR.Quality>Bad</HYDR.Quality>
<HYDR.Value>0</HYDR.Value>
</HYDR.Instrument>
<HYDR.Instrument id="ABR_LOOP_JP">
<HYDR.Quality>Good</HYDR.Quality>
<HYDR.Value>15.208 kg/cm2g</HYDR.Value>
</HYDR.Instrument>
<HYDR.Instrument id="ABR_MOV_12">
<HYDR.Quality>Good</HYDR.Quality>
<HYDR.Value>0</HYDR.Value>
</HYDR.Instrument>