#include <DbXml.hpp>
bool XmlQueryContext::getVariableValue(
const std::string &name, XmlValue &value);
bool XmlQueryContext::getVariableValue(
const std::string &name, XmlResults &value);
Returns the value that is bound to a specified variable. If there
is no value binding, then this method returns
false and value is set to a
null value (XmlValue::isNull() or
XmlResults::isNull() returns
true).
The value bound to the named variable. If
value is an
XmlResults
object, a
sequence of values is bound to the variable.
The XmlQueryContext::getVariableValue method
may fail and throw
XmlException
, encapsulating one of the
following non-zero errors: