diff options
Diffstat (limited to 'src/uscxml/plugins/datamodel/xpath')
-rw-r--r-- | src/uscxml/plugins/datamodel/xpath/XPathDataModel.cpp | 3 | ||||
-rw-r--r-- | src/uscxml/plugins/datamodel/xpath/XPathDataModel.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/uscxml/plugins/datamodel/xpath/XPathDataModel.cpp b/src/uscxml/plugins/datamodel/xpath/XPathDataModel.cpp index 1de9c1b..1f6a7cc 100644 --- a/src/uscxml/plugins/datamodel/xpath/XPathDataModel.cpp +++ b/src/uscxml/plugins/datamodel/xpath/XPathDataModel.cpp @@ -299,7 +299,8 @@ bool XPathDataModel::isValidIdentifier(const std::string& identifier) { } -void XPathDataModel::eval(const std::string& expr) { +void XPathDataModel::eval(const Arabica::DOM::Element<std::string>& scriptElem, + const std::string& expr) { XPathValue<std::string> result = _xpath.evaluate_expr(expr, _doc); } diff --git a/src/uscxml/plugins/datamodel/xpath/XPathDataModel.h b/src/uscxml/plugins/datamodel/xpath/XPathDataModel.h index 104d100..761661a 100644 --- a/src/uscxml/plugins/datamodel/xpath/XPathDataModel.h +++ b/src/uscxml/plugins/datamodel/xpath/XPathDataModel.h @@ -86,7 +86,8 @@ public: virtual void pushContext(); virtual void popContext(); - virtual void eval(const std::string& expr); + virtual void eval(const Arabica::DOM::Element<std::string>& scriptElem, + const std::string& expr); virtual void assign(const Arabica::DOM::Element<std::string>& assignElem, const Arabica::DOM::Document<std::string>& doc, const std::string& content); |