Im just new to c# xml so I need to ask some help to parse a certain xml telegram. Basically what I need is to loop in each nodes to get the UID, ID and value is there a way to do it using LINQ or any other approach?
<pre> PROCESSDATA,ALSS_L01S01,10,20140721005835,<ProcessData tokens="14" cid="1234" uid_1="1234" result_1="P" uid_2="5655" result_2="P" uid_3="8487" result_3="P" uid_4="73695" result_4="P" uid_5="2365" result_5="P" uid_6="12584" result_6="P"> <TestPlans> <TestPlan Name="FOO" Group="FOOFRGP"> <TestRun Uid="1234" UidType="SN"> <Test Id="INS" Value="270.50"/> </TestRun> <TestRun Uid="5655" UidType="SN"> <Test Id="INS" Value="260.50"/> </TestRun> <TestRun Uid="8487" UidType="SN"> <Test Id="INS" Value="260.50"/> </TestRun> <TestRun Uid="73695" UidType="SN"> <Test Id="INS" Value="260.50"/> </TestRun> <TestRun Uid="2365" UidType="SN"> <Test Id="INS" Value="260.50"/> </TestRun> <TestRun Uid="12584" UidType="PCB_SN"> <Test Id="INS" Value="260.50"/> </TestRun> </TestPlan> </TestPlans> </ProcessData> </pre>
PROCESSDATA,ALSS_L01S01,10,20140721005835,? Probably, it simply does not belong to here.