aboutsummaryrefslogtreecommitdiff
path: root/test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test.cc')
-rw-r--r--test.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/test.cc b/test.cc
index 28a2cac..bc6f0b2 100644
--- a/test.cc
+++ b/test.cc
@@ -4,6 +4,7 @@
#include <xalanc/XSLT/XSLTInputSource.hpp>
#include "src/read_file_command.h"
+#include "src/read_xml_file_command.h"
int main() {
xercesc::XMLPlatformUtils::Initialize();
@@ -18,7 +19,13 @@ int main() {
transformer.installExternalFunction(
customNamespace,
xalan::XalanDOMString("read-file"),
- FunctionFileRead()
+ FunctionReadFile()
+ );
+
+ transformer.installExternalFunction(
+ customNamespace,
+ xalan::XalanDOMString("read-xml-file"),
+ FunctionReadXmlFile()
);
xalan::XSLTInputSource input("../dummy/in.xml");