A Programmer's Dream

XPATH in .NET

Posted by Stephen Wrighton on 02 Oct 2007

Sometimes I'm truly oblivious to things.

I love working with XML in .NET it's a great way to send information across the internet to disparate companies, such as UPS. Well, when parsing XML messages that I receive I use XPATH. No big deal. The problem lies in the fact that I don't do it often, so I tend to forget that first "/".

Not a big deal. Just an hour of hunting down why I wasn't reporting the response I received from UPS.

That, and the fact that I was doing error checking on Node.Value and Node.InnerText when only Node.InnerText was populated.

Tweet me @kidananubix if you like this post.

Tweet