是否有D的HTML解析? [英] Is there a HTML parsing for D?

查看:68
本文介绍了是否有D的HTML解析?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种D语言的HTML解析(如果可能,该解析支持XPath)。我做了一些谷歌搜索,但是没有运气(用 D关键字很难找到解决方案;就像C,我说 C,谷歌说 C#。)。在 http://www.dsource.org https://stackoverflow.com/questions/tagged/html-parsing+d 也没有。



<注意:我不想混用C ++和D代码。我正在C或libxml2中寻求解决方案。

解决方案

查看Adam Ruppe的dom.d:



https://github.com/adamdruppe/misc-stuff- includes-D-programming-language-web-stuff / blob / master / dom.d


I'm looking for a HTML parsing for D language(that supports XPath, if possible). I did some googling, but no luck (hard find solutions with "D" keyword; it's like C, I say "C", google say C#.). On http://www.dsource.org and https://stackoverflow.com/questions/tagged/html-parsing+d there is no too.

Note: I want not to mix C++ and D code. I am seeking solutions either in C or in libxml2.

解决方案

Check out Adam Ruppe's dom.d:

https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff/blob/master/dom.d

这篇关于是否有D的HTML解析?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆