Class: Origami::XDP::Packet::XMPMeta

Inherits:
Origami::XFA::Element show all
Defined in:
lib/origami/xfa/xmpmeta.rb

Overview

An XMP packet contains XML representation of PDF metadata.

Instance Method Summary collapse

Methods included from Origami::XFA

included

Constructor Details

#initializeXMPMeta

Returns a new instance of XMPMeta.



33
34
35
36
37
38
# File 'lib/origami/xfa/xmpmeta.rb', line 33

def initialize
    super("xmpmeta")

    add_attribute 'xmlns', 'http://ns.adobe.com/xmpmeta/'
    add_attribute 'xml:space', 'preserve'
end