开发者

how to load a XDocument when the xml is in a string variable? [duplicate]

开发者 https://www.devze.com 2022-12-12 10:00 出处:网络
This question already has answers here: Populate XDocument from String (4 answers) Closed 9 years ago. How do I load开发者_如何学JAVA an XDocument when the xml is in a string variable?XDo
This question already has answers here: Populate XDocument from String (4 answers) Closed 9 years ago.

How do I load开发者_如何学JAVA an XDocument when the xml is in a string variable?


XDocument.Parse(yourvariable)

http://msdn.microsoft.com/en-us/library/system.xml.linq.xdocument.parse.aspx

0

精彩评论

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

关注公众号