Function libCZI::CreateMetadataBuilderFromXml

Function libCZI::CreateMetadataBuilderFromXml#

Function Documentation#

std::shared_ptr<ICziMetadataBuilder> libCZI::CreateMetadataBuilderFromXml(const std::string &xml)#

Creates metadata builder object from the specified UTF8-encoded XML-string. If the XML is invalid or if the root-node “ImageDocument” is not present, then an exception is thrown.

Parameters:

xml – The UTF8-encoded XML string.

Returns:

The newly created metadata-builder-object.