Is there a HTML parsing for D?

柔情痞子 提交于 2019-12-23 13:08:55

问题


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.


回答1:


Check out Adam Ruppe's dom.d:

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



来源:https://stackoverflow.com/questions/11936434/is-there-a-html-parsing-for-d

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!