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
The namespace within which the name resides. The empty string refers to the default namespace.
name
The name of the metadata attribute.
value
The XmlValue or XmlData object in which the metadata value is to be placed.

APIRef

Copyright (c) 1996,2007 Oracle. All rights reserved.