Fork me on GitHub



textwolf is a C++ (C++98) template library for processing XML (input/output) in various character set encodings (UTF-8,UTF-16,UCS-2,UCS-4,IsoLatin code pages 1 to 9 with the possibility to add others easily). It has interfaces for iterating on Unicode characters, XML elements and elements typed by XML path selection expression matches. It supports chunk-wise processing of input and has a performance competitive among the fastest open source XML processors available. It has a small code base (< 6000 lines) but nevertheless no dependencies to other libraries except STL. The library runs on various platforms namely Linux, Windows and BSDs.


textwolf is free software. You can redistribute it and modify it under the terms of the Mozilla Public License Version 2.0.


textwolf is a header-only template library without any installation procedure provided. Unpack the header files in the directory where you want to install them.


Projects Using textwolf

Author and Contact

Patrick Frey (mail)


You can download this project in either zip or tar formats.

You can also clone it:

$ git clone git://

Copyright © Patrick Frey, 2010,2011,2012,2013,2014