XmlDocument::getMetaData

API Ref

#include <DbXml.hpp>

bool XmlDocument::getMetaData(const std::string &uri, const std::string &name, XmlValue &value); bool XmlDocument::getMetaData(const std::string &uri, const std::string &name, Dbt &dbtvalue);


Description: XmlDocument::getMetaData

The XmlDocument::getMetaData method returns the value of the specified metadata attribute. The value of the metadata attribute can be retrieved as a typed or untyped value. Typed values are retrieved by passing an XmlValue to the API. Untyped values are retrieved by passing a Dbt through the API.

Parameters

uri
The namespace within which the name resides. The empty string refers to the default namespace.

name
The name of the metadata attribute.

value
A Number, String, or Boolean value.

dbtvalue
A Berkeley DB Dbt.

The method returns true if a value for the named metadata attribute is found within the document.


Class

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

APIRef

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