Hari B

Hari B

  • NA
  • 139
  • 68.3k

Find string in XML and read information

Aug 12 2019 3:46 AM
I have an XML like below
<miscinfo>
<title>X_Voltage</title>
<info>
<name> Unit </name>
<description>bit</description>
</info>
<info>
<name>Minimum Value</name>
<description>0.000</description>
</info>
<info>
<name>Maximum value</name>
<description>0.000</description>
</info>
<info>
<name>Measured Value</name>
<description>0.000</description>
</info>
<info>
<name>Status</name>
<description>PASS</description>
</info>
</miscinfo>
i need to find "X_Voltage" if found that string need all info like unit,min value,max value,measured value and status.

Answers (4)