I have XML document which is something like
<X><Y><Values><double>1.0</double><double>2.0</double></Values>...
I am trying to get those values:
toXpath.MoveToRoot(); // the X node name could be different
toXpath.MoveToFirstChild(); // this should be Y
string q = "Y/Values";
foreach (XPathNavigator x in toXpath.Select(q))
In x.Value I get something like "1.02.0"