STLL
0.0
Simple Text Layouting Library
|
STLL tries to be indepentend of the XML library to use for parsing the XHTML code. This is achieved by a little XML abstraction layer that contains functions to access a DOM tree parsed by a certain library.
For each library to support STLL must provide this interface.
The XHTML parser is written with C++ templates and instantiated once for each library
Right now STLL supports libxml2 and pugixml as XML libraries. The library support is checked at compile time. When a library is available the instance is compiled in, if not it will be left out. If you want to add support for a different library you need to recompile
If you want to add support for a new library that is not yet supported by STLL you have to do the following:
Most of it is simple stuff, the hardest is step 2 to create the overloaded functions.