XmlQueryContext::setVariableValue |
![]() ![]() |
#include <DbXml.hpp>void XmlQueryContext::setVariableValue( const std::string &name, const XmlValue &value);
bool XmlQueryContext::getVariableValue( const std::string &name, XmlValue &value);
Creates an externally-declared XQuery variable by binding the specified value to the specified variable name.
The XmlQueryContext::setVariableValue method may be called at any time during the life of the application.
Returns the value that is bound to the specified variable. If there is no value binding then the function returns false and value is set to the null value (XmlValue::isNull returns true).
![]() ![]() |
Copyright (c) 1996-2005 Sleepycat Software, Inc. - All rights reserved.