diff options
Diffstat (limited to 'src/function/read_xml_file.cc')
-rw-r--r-- | src/function/read_xml_file.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/function/read_xml_file.cc b/src/function/read_xml_file.cc index cf2cadd..6e89701 100644 --- a/src/function/read_xml_file.cc +++ b/src/function/read_xml_file.cc @@ -1,5 +1,7 @@ #include "read_xml_file.h" +#include <xalanc/XSLT/XSLTInputSource.hpp> + #include <xercesc/dom/DOMDocument.hpp> #include <xercesc/dom/DOMImplementation.hpp> #include <xercesc/dom/DOMElement.hpp> @@ -34,10 +36,10 @@ namespace InputXSLT { xercesc::DOMDocument* FunctionReadXmlFile::constructDocument( const FilesystemContext& fsContext, - const FunctionBase::argument_array& arguments + const FunctionBase::argument_tuple& arguments ) { const boost::filesystem::path filePath( - fsContext.resolve(arguments[0]) + fsContext.resolve(std::get<0>(arguments)) ); xercesc::DOMDocument* const domDocument( |