I had used LINQ to XML with connection to HTMLAgilityPack for importing HTML into a WPF application which in turn reads specific information from a HTML file.
You may use it to perform the corrections in formatting or highlighting the HTML syntax. You can find more information about Html Agility Pack on Codeplex.
发布评论
评论(3)
我还没有尝试过其中任何一个,但这里有几个链接: http://tidyfornet.sourceforge.net/
让我们知道您在其中任何一个方面取得了怎样的成功。这是一个很好的问题,需要知道答案。
I haven't tried any of these, but there are a couple of links here: http://tidyfornet.sourceforge.net/
Let us know what kind of success you have with any of them. This is a good question to know the answer to.
您可以通过使用 Visual Studio 中内置的 HTML 格式化工具来实现一些简洁性。
http://weblogs.asp.net/scottgu/archive/2006/07/07/Tip_2F00_Trick_3A00_-Custom-formatting-HTML-in-Visual-Web-Developer-and-Visual-Studio-2005。 ASPX
You can achieve some cleanliness by using the built-in HTML formatting tool in Visual Studio.
http://weblogs.asp.net/scottgu/archive/2006/07/07/Tip_2F00_Trick_3A00_-Custom-formatting-HTML-in-Visual-Web-Developer-and-Visual-Studio-2005.aspx
我使用了 LINQ to XML 并连接到
HTMLAgilityPack
用于将 HTML 导入到 WPF 应用程序依次从 HTML 文件中读取特定信息。您可以使用它来执行格式更正或突出显示 HTML 语法。您可以找到有关 Codeplex 上的 Html Agility Pack 的更多信息。
I had used LINQ to XML with connection to
HTMLAgilityPack
for importing HTML into a WPF application which in turn reads specific information from a HTML file.You may use it to perform the corrections in formatting or highlighting the HTML syntax. You can find more information about Html Agility Pack on Codeplex.