Hello,
We've finally made a new xmlwrapp release, accumulating a few changes
since the last 3+ years. The new release is available from
https://github.com/vslavik/xmlwrapp/releases/tag/v0.8.0
The most important change in this release is the improved error handling:
- New behaviour: xml::document::save_to_{string,file}() now throws
exception in case of failure by default instead of silently ignoring any
errors.
- New behaviour: xpath_context::evaluate() also throws an exception if an
invalid XPath expression is specified.
In both cases, ignore_errors can be passed as the new on_error argument to
these functions to restore the old behaviour (this is, however, not
recommended).
There also some new features:
- Added xml::node::move_under().
- Added xml::node::set_namespace().
- Added xml::xpath_context class for evaluating XPath expressions.
- Added xml::nodes_view::erase() analogous to node::erase().
We hope you will find this new version useful,
VZ