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, XmlData &value) const;


Description: XmlDocument::getMetaData

Returns the value of the specified metadata. 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 an XmlData object (Dbt) through the API.

This method returns true if metadata is found for the XmlDocument that matches the given URI and name; otherwise, it returns false.

Parameters
uri name value

APIRef

Copyright (c) 1996-2009 Oracle. All rights reserved.