问题
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