1 diff -Naur libxmlccwrap-0.0.12_org/configure.ac libxmlccwrap-0.0.12/configure.ac
2 --- libxmlccwrap-0.0.12_org/configure.ac 2005-07-28 21:27:58.000000000 +0200
3 +++ libxmlccwrap-0.0.12/configure.ac 2007-10-29 15:36:49.000000000 +0100
7 AC_CHECK_LIB(xml2,main)
8 -AC_CHECK_LIB(xslt,main)
9 +#AC_CHECK_LIB(xslt,main)
13 diff -Naur libxmlccwrap-0.0.12_org/xmlccwrap/xmlccwrap.cc libxmlccwrap-0.0.12/xmlccwrap/xmlccwrap.cc
14 --- libxmlccwrap-0.0.12_org/xmlccwrap/xmlccwrap.cc 2003-12-18 23:48:08.000000000 +0100
15 +++ libxmlccwrap-0.0.12/xmlccwrap/xmlccwrap.cc 2007-10-24 22:54:15.000000000 +0200
17 #include <libxml/tree.h>
18 #include <libxml/HTMLparser.h>
19 #include <libxml/encoding.h>
21 #include <libxslt/xsltutils.h>
22 #include <libxslt/transform.h>
24 #include "xmlccwrap.h"
25 #include "libxmlexport.h"
28 Element *readnode(xmlNodePtr);
29 void writenode(xmlDocPtr, Element *, xmlNodePtr, int = 0);
43 XMLTree::XMLTree() : _filename(), _root(), _compression(0)
51 bool XMLTree::xslt(const XSLTTree & xsltTree, const std::string & outputfile, ParameterMap & parameterMap)
55 ParameterMap parameterMap;
56 return xslt(xsltTree, outputfile, parameterMap);
61 const std::string & XMLTree::getErrorString()
63 diff -Naur libxmlccwrap-0.0.12_org/xmlccwrap/xmlccwrap.h libxmlccwrap-0.0.12/xmlccwrap/xmlccwrap.h
64 --- libxmlccwrap-0.0.12_org/xmlccwrap/xmlccwrap.h 2003-12-18 23:42:37.000000000 +0100
65 +++ libxmlccwrap-0.0.12/xmlccwrap/xmlccwrap.h 2007-10-24 22:54:15.000000000 +0200
67 typedef std::multimap<std::string, std::string> ParameterMap;
68 typedef ParameterMap::value_type ValuePair;
76 bool read(const std::string &fn);
77 const void * exportxsltStylesheetPtr() const;
85 bool write(const std::string &fn);
86 const std::string & writeBuffer() const;
90 bool xslt(const XSLTTree & xsltTree, const std::string & outputfile, ParameterMap & parameterMap);
91 bool xslt(const XSLTTree & xsltTree, const std::string & outputfile);
94 const std::string & getErrorString();