Collects a comprehensive Extensible
Metadata Platform (XMP) metadata packet for the document.
Any third-party metadata is collected and converted to XMP as
follows:
All elements are given the namespace http://ns.adobe.com/xfa/promoted-desc/,
with the suggested prefix desc:.
The value of the name object becomes the
object name.
A desc:ref property qualifier is added,
whose value is an XPath expression pointing back to the parent of
the original desc. The order of desc objects within
a single parent is not preserved. Multiple desc objects
of the same name are not collected. Only the first desc object
appears in the output.
Content under the desc object
is converted as follows:
When the XDP file is rendered as a PDF
file, the collected metadata is written to the PDF file’s XMP packet.
Copies of the same metadata continue to exist in the XFA stream
inside the PDF file.
SyntaxReference_Syntax.metadata ( INTEGER param )
Parameters
param
|
(Optional) An integer representing the serialization
format.
0 (RDF) (default)
1 (PlainXMP)
|
ReturnsA
valid string representing the XML serialization of the XMP metadata.
|
|
|