Windows phone 8 从rss/Xml提要windows phone的描述标记解析图像

Windows phone 8 从rss/Xml提要windows phone的描述标记解析图像,windows-phone-8,Windows Phone 8,任何人请告诉我如何从描述标签中获取图像 描述标签在下面 <p style="text-align: center;"><img hspace="1" height="312" border="1" align="middle" width="300" vspace="3" src="/recipeuserfiles/Katte Pongali-andhra recipes-healthy recipes.PNG" al

任何人请告诉我如何从描述标签中获取图像

描述标签在下面

 <p style="text-align: center;"><img hspace="1" height="312" border="1" align="middle"                              width="300" vspace="3" src="/recipeuserfiles/Katte Pongali-andhra recipes-healthy recipes.PNG" alt="" /></p> <ul> <li>Mix the rice and Green gram dal Cook in pressure cooker and keep it side. </li> <li>Now take a vessel and heat the ghee and add add pepper, cumin seeds, curry leaves and cashew nuts to it. </li> <li>Then add the cokked rice and dal , salt and mix it properly. </li> <li>Delicious pongali is ready to taste. Have it with any of your favorite chutney.</li> </ul>

  • 将米饭和绿豆在高压锅中混合并放在一边

任何帮助都将不胜感激

提前感谢

您可以使用它轻松地从HTML中提取信息。例如:

var html=@“

  • 将米饭和绿豆放在高压锅中煮,并放在一边
”; var doc=新的HtmlDocument(); doc.LoadHtml(html); var src=doc.DocumentNode.SelectSingleNode(“//img”).GetAttributeValue(“src”,“img”); //这将打印/recipeuserfiles/Katte Pongali andhra recipes Health recipes.PNG 控制台写入线(src);

网上有许多文章/教程,介绍如何安装HAP和如何开始使用它,您可以随时搜索。

我编写了相同的代码。即使没有显示图像,我也没有收到任何错误。我无法理解问题是什么。请帮助我。我为此奋斗了很多天。