Lightweight C++ XML parsing library
C++ M4 C Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
admin Update boost.m4 Aug 2, 2015
docs Make dumping xml::nodes more convenient. Apr 2, 2015
examples Minor fixups here and there. Jul 2, 2013
include Increase version to 0.8.0 Nov 29, 2016
platform/Win32 Merge branch 'windows-tests' Sep 11, 2016
src Don't suppress all libxml2 errors by default Sep 14, 2016
tests Throw exception when evaluating an invalid XPath expression Sep 14, 2016
.gitignore Ignore admin/compile added by new Automake. Aug 8, 2013
.travis.yml Enable testing in C++11 mode on Travis CI Jan 13, 2016
AUTHORS Minor fixups here and there. Jul 2, 2013
LICENSE Update copyright info Feb 5, 2016
Makefile.am Allow disabling building the documentation Jan 13, 2016
NEWS Fix a typo in the NEWS file Dec 1, 2016
README Add --disable-tests configure option to skip building tests. Sep 1, 2014
bootstrap Don't require doxygen & bakefile to bootstrap. Aug 8, 2013
configure.ac Increase version to 0.8.0 Nov 29, 2016
xmlwrapp-config.in split pkg-config file xmlwrapp.pc into xmlwrapp.pc and xsltwrapp.pc, … Nov 26, 2008
xmlwrapp.pc.in use pkg-config's Require: field instead of Libs.private for dependenc… Apr 17, 2009
xsltwrapp.pc.in

README

0. Introduction
---------------

xmlwrapp is a modern style C++ library for working with XML data, built atop
the venerable libxml2 C library.

Additional resources, bug reports, latest sources etc. can be found on the
project page at http://vslavik.github.io/xmlwrapp/

Packages tarballs can be downloaded from the same location or from
https://github.com/vslavik/xmlwrapp/releases

If you need help or want to discuss xmlwrapp, feel free to join the discussion
group hosted at http://groups.google.com/group/xmlwrapp or email directly to
xmlwrapp@googlegroups.com.


1. Requirements
---------------

In order to build xmlwrapp, you need libxml2 version 2.4.28 or newer. When
building with XSLT support, libxslt 1.1.6 or newer is required. Both libraries
are available from http://xmlsoft.org.

Header-only Boost Pool library is also required for building xmlwrapp.

To run tests, Boost.Iostreams and Boost.Test libraries are also needed.


2. Building on Unix
-------------------

On Unix, the usual Autotools-based build system is used. Building xmlwrapp is
usually as simple as running the following three commands:

  ./configure
  make
  make install

See the output of `./configure --help` for additional settings and options.

Use `--disable-tests` option to skip running tests and avoid the need for
installing Boost.Iostreams and Test libraries.


3. Building on Windows
----------------------

At this time, only building with Visual C++ compiler is supported. The required
project files are located in platform/Win32 directory. You will need libxml
and libxslt libraries built for Windows, e.g. the binaries from
http://www.zlatkovic.com/libxml.en.html.


4. Using xmlwrapp
-----------------

On Unix, you should use pkg-config to get compiler flags for xmlwrapp or
xsltwrapp libraries:

   c++ -c `pkg-config --cflags xmlwrapp` ...
   c++ -o ... `pkg-config --libs xmlwrapp`

On Windows, you need to link against xmlwrapp libraries and add the include/
directory to compiler's headers search path.