The following code gives a NullReferenceException since XPathSelectElement can't navigate through the XPath expression I've given:
String description = (String)node.XPathSelectElement("//car").Attribute("description");
I've debugged this and verified that the node is being read correctly, and that the elements in my XPath are capitalized the same way that they are in my XML file. I know for a fact that there is a "car" element with an attribute called "description". How come this isn't working? Does it have something to do with needing a LocalName version of the XPath?