40 #ifndef _xsltwrapp_stylesheet_h_ 41 #define _xsltwrapp_stylesheet_h_ 46 #include "xmlwrapp/export.h" 67 typedef std::map<std::string, std::string>
param_type;
118 XMLWRAPP_DEPRECATED(
"use the form that takes error_handler argument")
119 bool apply(const
xml::document& doc,
xml::document& result);
134 XMLWRAPP_DEPRECATED("use the form that takes error_handler argument")
135 bool apply(const
xml::document& doc,
xml::document& result, const param_type& with_params);
148 bool apply(const
xml::document& doc,
149 xml::document& result,
150 xml::error_handler& on_error);
164 bool apply(const
xml::document& doc,
165 xml::document& result,
166 const param_type& with_params,
167 xml::error_handler& on_error);
183 xml::document& apply(const
xml::document& doc,
201 xml::document& apply(const
xml::document& doc,
202 const param_type& with_params,
203 xml::error_handler& on_error =
xml::throw_on_error);
219 XMLWRAPP_DEPRECATED("use apply() variants that take error_handler argument")
220 const
std::
string& get_error_message() const;
223 void init(
xml::document& doc,
xml::error_handler& on_error);
230 stylesheet& operator=(const stylesheet&);
235 #endif // _xsltwrapp_stylesheet_h_ std::map< std::string, std::string > param_type
Type for passing parameters to the stylesheet.
Definition: stylesheet.h:64
This file contains errors-handling classes: xml::exception and xml::error_handler and derived classes...
The xslt::init class is used to configure the XSLT engine.
Definition: init.h:63
The xml::error_handler class is used to handle libxml2 errors and warnings emitted during parsing...
Definition: errors.h:84
This file contains the definition of the xslt::init class.
XSLT library namespace.
Definition: document.h:55
error_handler_throw_on_error throw_on_error
Error handler object that throws on any error.
The xslt::stylesheet class is used to hold information about an XSLT stylesheet.
Definition: stylesheet.h:61
The xml::document class is used to hold the XML tree and various bits of information about it...
Definition: document.h:84
XML library namespace.
Definition: attributes.h:51
This file contains the definition of the xml::document class.