Friday, November 28, 2008

parsing XML

So It turns out parsing XML in .net is drop dead simple. For those who know this is really helped out by knowing XPath. Now the XPath was made simple for me by the tool XPath Explorer. Now if you google for XPath Explorer and find that the most recent stuff is for xmlfixture don't worry. That appears to the newest work by the developer. I just wanted the old XPE so that is located here. This allowed me to figure out the xpath for a given node and enter that in the XMLDocument.selectNodes(xpath) to return the values for that node. Very cool.

No comments: