How to parse the xml string in Windows phone 7?

Windows 7 phone supports most of C#, so you can use all the same methods for parsing XML as you would in any other C# code. Look up XmlDocument or XDocument.

Up vote 1 down vote favorite share g+ share fb share tw.

Please how to read the following xml string. 1 I need to get the id . Please tell me .

Windows-phone-7 link|improve this question asked Jul 9 '11 at 5:19Venkat582214 58% accept rate.

Var id = Convert. ToInt32(XDocument. Parse(xml).Root.

Element("id"). Value).

Here is a full tutorial reference for you. The C# code parses this XML: string xmlData = @" "; using this piece of code: var quotes = from quote in dataDoc. Descendants("StockQuote") let stamp = DateTime.

Parse(quote. Attribute("quotetime"). Value) orderby stamp ascending select new StockQuote { Symbol = quote.

Attribute("symbol"). Value, Price = decimal. Parse(quote.

Attribute("price"). Value) }; Let us know if it works. Hope that helps.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions