Questions tagged [htmlcxx]

htmlcxx is a simple non-validating css1 and html parser for C++

htmlcxx is a simple non-validating css1 and html parser for C++. Although there are several other html parsers available, htmlcxx has some characteristics that make it unique:

  1. STL like navigation of DOM tree, using excelent's tree.hh library from Kasper Peeters
  2. It is possible to reproduce exactly, character by character, the original document from the parse tree
  3. Bundled css parser
  4. Optional parsing of attributes
  5. C++ code that looks like C++ (not so true anymore)
  6. Offsets of tags/elements in the original document are stored in the nodes of the DOM tree
3 questions
1
vote
1 answer

undefined reference to `htmlcxx::HTML::ParserDom::parseTree(std::string const&)'

I am using htmlcxx library for a simple program but I got stuck in a problem, I searched many other related solutions but my problem is still a problem, Hope any one can help me, Here is the code I used in Kdevelop on Ubuntu: #include…
Mehran
  • 308
  • 3
  • 15
0
votes
2 answers

How to compile htmlcxx on Windows using MinGW / MSYS?

I'm trying to compile htmlcxx lib using MinGW / MSYS and I'm having trouble with this. First, I got this error: make : The term 'make' is not recognized as the name of a cmdlet, function, script file, or operable program. After I figured this out…
max paint
  • 49
  • 6
0
votes
0 answers

Errors on compiling solution with htmlcxx library

I'm working with html so I need a html parser to help me. Htmlcxx library (http://htmlcxx.sourceforge.net/) is my choice. It looks easy to use, understand. But it seems to be released for linux, it has many difference files that I don't know what to…
dnvThai
  • 123
  • 8