开发者

htmlagility pack and silverlight

开发者 https://www.devze.com 2023-03-18 01:50 出处:网络
I am trying to use htmlagility pack in silverlight.开发者_Go百科I was able to install it using the nuget package and I made a reference to it.So far though I\'ve only been able to get the following to

I am trying to use htmlagility pack in silverlight.开发者_Go百科 I was able to install it using the nuget package and I made a reference to it. So far though I've only been able to get the following to mostly work

 document.LoadHtml(new_html)
    MessageBox.Show(document.DocumentNode.Name & "____" & document.DocumentNode.HasChildNodes) ' & "____" & document.DocumentNode.InnerText)

All the samples that I can find using HAP use a DocumentNode.SelectNodes which doesn't work in Silverlight. Anyone have a simple sample using Silverlight?


There was an error in the package. Package was updated in Nuget for missing references

0

精彩评论

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

关注公众号