KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a problem. My XML File is here: <altinkaynak> <DOVIZ> <ADI>Tarih</ADI> <ALIS>24.07.2013 18:59:45</ALIS> <SATIS/> </DOVIZ> <DOVIZ> <ADI>USD</ADI> <ALIS>1.9120</ALIS> <SATIS>1.9220</SATIS> </DOVIZ> <DOVIZ> <ADI>EUR</ADI> <ALIS>2.5280</ALIS> <SATIS>2.5430</SATIS> </DOVIZ> </altinkaynak> How can I parse this XML file? I coded it this way but I get a parse error message; if (tip == DövizKuruTipi2.Alış) Line 44: return Decimal.Parse(doc.SelectNodes("//ALTINKAYNAK/DOVIZ/ADI=" + dovizKuru2 + "/ALIS")[0].InnerText.Replace('.', ',')); Expression must evaluate to a node-set
Tags (comma-separated)
Save Edits
Cancel