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
精彩评论