wonderware

Find Sibling Attribute in XML document

不羁的心 提交于 2019-12-12 06:12:38
问题 A program I'm using, WonderWare, creates the following XML document <ItemsList> <Item Name="31" Alias="PMP1_ANY_FAULT"/> <Item Name="29" Alias="PMP1_DEVIATION"/> <Item Name="27" Alias="PMP1_DISCREPANCY"/> <Item Name="25" Alias="PMP1_EQUIP_SC_BAD"/> <Item Name="402019 F" Alias="PMP1_EQUIP_SP"/> </ItemsList> Using VB.Net I can open the document but I cannot figure out how to look up an index by it's alias and then return the associate Item name. Honestly, I can't even find an example where two