XmlQueryContext::getVariableValue

API Ref

#include <DbXml.hpp>

bool XmlQueryContext::getVariableValue(const std::string &name, XmlValue &value);


Description: XmlQueryContext::getVariableValue

The XmlQueryContext::getVariableValue method 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).

Parameters

name
The name of the variable whose value is required.

value
The value bound to the variable.
Returns the value bound to the variable.

Class

XmlContainer, XmlDocument, XmlException, XmlIndexSpecification, XmlQueryContext, XmlQueryExpression, XmlResults, XmlUpdateContext, XmlValue

APIRef

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.