ParsedDocument_addMetadata

Placeholder for a metadata that is parsed from a document.

Syntax

ParsedDocument_addMetadata <Parsed document handle> <metadata handle>

Type/Class

ParsedDocument

Description

Placeholder for a metadata that is parsed from a document. This metadata value will be used by ContentInterface_SetMetadata to set the metadata value to the content.
Parsed document handle
Handle of the document that is being parsed
metadata handle
Metadata handle

Examples

set metaval "fileType"
set val "H3D"
set v1 [hwVariant]
$v1 SetString $val
set dm [new_DocumentMetadata $metaval 1 $v1]
ParsedDocument_addMetadata $documentp $dm