aboutsummaryrefslogtreecommitdiff
path: root/src/support/tuple/xobject_value.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/tuple/xobject_value.cc')
-rw-r--r--src/support/tuple/xobject_value.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/support/tuple/xobject_value.cc b/src/support/tuple/xobject_value.cc
new file mode 100644
index 0000000..3883436
--- /dev/null
+++ b/src/support/tuple/xobject_value.cc
@@ -0,0 +1,18 @@
+#include "xobject_value.h"
+
+#include <string>
+
+#include "support/xalan_string.h"
+
+namespace InputXSLT {
+
+namespace XObjectValue {
+
+template <>
+std::string get<std::string>(const xalan::XObjectPtr& ptr) {
+ return toString(ptr->str());
+}
+
+}
+
+}