I have this XML:
<SwitchPort name="1110" portType="RS422_Board2">
<Bus>UO-2-3</Bus>
<Device>FC3</Device>
<Appearance>Simulated</Appearance>
</SwitchPort>
I can get the portType using:
for node in NCFile.getElementsByTagName("SwitchPort"):
portType = node.getAttribute("portType")
But I want to get the values of Apperance, Device, etc.
What am I doing wrong?
Matt