suhas setty

suhas setty

  • NA
  • 128
  • 52.2k

need to read xml attribute value

Aug 20 2015 6:32 AM
Hi all,
 
i need to read the xml attribute value from the below xml .
i need to put adapters name ,connector index and view type in the list.
 
kindly help me
 
 
<?xml version="1.0" encoding="utf-8" ?>
<MonitorConfiguration>
<System Type="" ></System>

<Adapters Name="Intel"> </Adapters>
<Monitors>
<Monitor ConnectorIndex="1" ViewType="Clone" />
<Monitor ConnectorIndex="4" ViewType="Clone" />
<Monitor ConnectorIndex="5" ViewType="Clone" />
<Monitor ConnectorIndex="6" ViewType="Extend" />
</Monitors>

</MonitorConfiguration>

Answers (3)