Compare childnode with C # variable and XML (Xpath)

1

I have an xml file with several structures. I have a structure called Product that has a ProductCode field and I have a structure called SalesInvoice , inside it I have a Invoice field, inside Invoice has another ProductCode .

I have to compare the ProductCode of the two structures. If they are the same I have to do one thing, if they are different I have to do something else.

It's a bit confusing but I explained the best I could, I hope you understand. I'm using C #!

    
asked by anonymous 26.04.2017 / 12:39

0 answers