Class: Origami::XDP::Packet::XMPMeta
- Inherits:
-
Origami::XFA::Element
- Object
- REXML::Element
- Origami::XFA::Element
- Origami::XDP::Packet::XMPMeta
- Defined in:
- lib/origami/xfa/xmpmeta.rb
Overview
An XMP packet contains XML representation of PDF metadata.
Instance Method Summary collapse
-
#initialize ⇒ XMPMeta
constructor
A new instance of XMPMeta.
Methods included from Origami::XFA
Constructor Details
#initialize ⇒ XMPMeta
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 |