GetXMPProperty

Text, extraction

Description

Locates the prefix:name element inside the XMP packet, descends through rdf:Alt, rdf:Bag and rdf:Seq wrappers and resolves XML entities

Syntax

Delphi

Function GetXMPProperty(Const Prefix, Name: WideString): WideString;

Parameters

PrefixNamespace prefix, for example dc, xmp or pdf
NameElement name, for example title, CreatorTool or Keywords

Return value

The property text, or an empty string when the packet or the property is absent

Remarks

Self-closing elements read as empty strings; the first non-empty text node of array containers is returned

See also

SynchronizeXMPToInfo, SetXMPProperty