ich lese mit :
xmldoc.Load(@"ccd.xml");
// Erzeugen eines XmlElements
XmlElement obRoot = xmldoc.DocumentElement;
foreach(XmlNode obXMLNode in obRoot.ChildNodes)
{
double owidth = Convert.ToDouble(obXMLNode.SelectSingleNode("width").InnerText);
<CCD>
<width>4.9</width>
<height>3.7</height>
<text>1/3" (4.9 x 3.7mm)</text>
</CCD>
Problem: in owidth steht 49.0 statt 4.9?? Auch wenn ich in XML Datei 4,9 schreibe!
Danke für Eure Hilfe!
Daniel