aboutsummaryrefslogtreecommitdiff
path: root/src/function/read_xml_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/function/read_xml_file.h')
-rw-r--r--src/function/read_xml_file.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/function/read_xml_file.h b/src/function/read_xml_file.h
index 1556764..c755852 100644
--- a/src/function/read_xml_file.h
+++ b/src/function/read_xml_file.h
@@ -9,13 +9,15 @@
#include <xalanc/XPath/XObject.hpp>
#include <xalanc/XercesParserLiaison/XercesParserLiaison.hpp>
-#include "utility.h"
+#include <string>
+
+#include "common.h"
namespace InputXSLT {
class FunctionReadXmlFile : public xalan::Function {
public:
- FunctionReadXmlFile();
+ FunctionReadXmlFile(const std::string&);
FunctionReadXmlFile(const FunctionReadXmlFile&);
virtual xalan::XObjectPtr execute(
@@ -31,6 +33,7 @@ class FunctionReadXmlFile : public xalan::Function {
bool operator==(const FunctionReadXmlFile&) const = delete;
private:
+ const std::string path_;
mutable xalan::XercesParserLiaison parser_;
const xalan::XalanDOMString& getError(xalan::XalanDOMString& result) const;