10#ifndef UI_GXML_XSLTREE_HPP
11#define UI_GXML_XSLTREE_HPP
21#include <libxslt/xsltInternals.h>
30 static xsltStylesheetPtr create(xmlDocPtr
const doc);
43 XSLTree(
char const * xml,
int len=-1, std::string
const & base=
DefaultDocbase_,
int const options=0);
44 XSLTree(std::string
const & xml, std::string
const & base=
DefaultDocbase_,
int const options=0);
45 XSLTree(std::istream & xml, std::string
const & base=
DefaultDocbase_,
int const options=0);
46 XSLTree(
FileConstructor const dummy, std::string
const & file,
int const options=0);
52 XSLTree(XSLTree
const & tree);
53 XSLTree & operator=(XSLTree
const & xslTree);
69 xsltStylesheetPtr style_;
Adding code facility to Exception.
Definition Exception.hpp:35
FileConstructor
Helper enum for constructor from file name.
Definition Tree.hpp:103
static std::string const DefaultDocbase_
Default document base. This is used for from-memory parsing if not specified otherwise.
Definition Tree.hpp:74
Tree()
Protected default constructor.
Definition Tree.cpp:74
~XSLTree()
Definition XSLTree.cpp:78
xsltStylesheet * getStylesheet() const
Get libxml2 stylesheet struct.
Definition XSLTree.cpp:91
ErrorCode
Error codes for exceptions.
Definition XSLTree.hpp:35
friend class XSLTransTree
We need to access libxml2 doc pointer to parse the stylesheet with libxml2 function.
Definition XSLTree.hpp:64
std::string getOutputEncoding() const
Get output charset encoding (i.e., what is specified in xsl::output); empty if none is specified.
Definition XSLTree.cpp:86
CodeException< ErrorCode > Exception
Exceptions for this class.
Definition XSLTree.hpp:39
Namespace for library project "ui-gxmlcpp".
Definition Buffer.cpp:31
Namespace for all Schlund+Partner Code.
Definition Buffer.cpp:30