summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/scheme/value-xml.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sca-cpp/trunk/modules/scheme/element-xml.cpp (renamed from sca-cpp/trunk/modules/scheme/value-xml.cpp)6
1 files changed, 3 insertions, 3 deletions
diff --git a/sca-cpp/trunk/modules/scheme/value-xml.cpp b/sca-cpp/trunk/modules/scheme/element-xml.cpp
index ff785899c6..c7bc7661ab 100644
--- a/sca-cpp/trunk/modules/scheme/value-xml.cpp
+++ b/sca-cpp/trunk/modules/scheme/element-xml.cpp
@@ -25,15 +25,15 @@
#include "fstream.hpp"
#include "string.hpp"
-#include "xml.hpp"
#include "element.hpp"
+#include "../xml/xml.hpp"
#include "eval.hpp"
namespace tuscany {
namespace scheme {
-int valueXML() {
- failable<list<string> > s = writeXML(readValue(cin));
+const int valueXML() {
+ const failable<list<string> > s = xml::writeElements(content(readValue(cin)));
if (!hasContent(s)) {
cerr << reason(s) << " : " << rcode(s);
return 1;