XElement.XPathEvaluate not evaluating exponential numbers correctly
问题 In my C# Program, I am loading a System.Xml.Linq.Xelement variable with a portion of an XML file I'm trying to parse and feeding it various XPaths to evaluate values for using the XPathEvaluate() method. My challenge is that my XML has some numbers stored as exponential numbers and the XPath is ignoring them even though I'm reading that XPath 2.0 should allow for these being understood to be numbers. A sample would look as follows: XML ( childNode ): <Parent> <Vals id="Val1"> <abc>1.8</abc> <