Skip to content

happypdf / extractForeignXmpDescriptions

Function: extractForeignXmpDescriptions()

ts
function extractForeignXmpDescriptions(xml): string[];

Defined in: src/api/pdfa/xmp.ts:81

Extract rdf:Description elements from an XMP packet that are not owned by pdf-lib (e.g. Factur-X fx:, pdfaExtension schemas). Owned and mixed blocks are omitted so the owned Info/pdfaid slice can be rebuilt cleanly.

Parameters

ParameterType
xmlstring

Returns

string[]

MIT Licensed. A fork of pdf-lib.