Skip to content
Sections
>> Trisquel >> 软件包 >> aramo >> libdevel >> libhtmlcxx-dev
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: htmlcxx  ]

软件包: libhtmlcxx-dev (0.87-2)

simple HTML/CSS1 parser library for C++ (development)

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:

 * STL like navigation of DOM tree, using excellent tree.hh library from
   Kasper Peeters
 * It is possible to reproduce exactly, character by character, the original
   document from the parse tree
 * Bundled CSS parser
 * Optional parsing of attributes
 * C++ code that looks like C++ (not so true anymore)
 * Offsets of tags/elements in the original document are stored in the nodes
   of the DOM tree

The parsing politics of htmlcxx were created trying to mimic Mozilla Firefox (http://www.mozilla.org) behavior. So you should expect parse trees similar to those create by Firefox. However, differently from Firefox, htmlcxx does not insert non-existent stuff in your html. Therefore, serializing the DOM tree gives exactly the same bytes contained in the original HTML document.

This package contains files required for developing software that makes use of htmlcxx.

其他与 libhtmlcxx-dev 有关的软件包

  • 依赖
  • 推荐
  • 建议

下载 libhtmlcxx-dev

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
amd64 33.9 kB165 kB [文件列表]
arm64 33.4 kB161 kB [文件列表]
armhf 35.3 kB156 kB [文件列表]
ppc64el 36.8 kB201 kB [文件列表]