开发者

XML on windows phone 7

开发者 https://www.devze.com 2023-02-07 05:52 出处:网络
I am a newbie in windows phone 7. I want to do some demo within XML but I can\'t find the XMLDocument class (like what I do on Windows Form). I开发者_开发知识库 can\'t find the namespace Linq, XPath..

I am a newbie in windows phone 7. I want to do some demo within XML but I can't find the XMLDocument class (like what I do on Windows Form). I开发者_开发知识库 can't find the namespace Linq, XPath... in System.Xml also (see below picture).

XML on windows phone 7


There is a separate assembly for it that you will need to reference (System.Xml.Linq). Once you have that you will be able to use the Linq 2 XML stuff (XDocument, etc). XmlDocument isn't available in Silverlight (and therefore is not available in WP7).

Jay

0

精彩评论

暂无评论...
验证码 换一张
取 消