Class Origami::XDP::Packet::StyleSheet
In: sources/parser/xfa.rb
Parent: XFA::Element

The stylesheet packet encloses a single XSLT stylesheet.

Methods

new  

Public Class methods

[Source]

     # File sources/parser/xfa.rb, line 202
202:         def initialize(id)
203:           super("xsl:stylesheet")
204: 
205:           add_attribute 'version', '1.0'
206:           add_attribute 'xmlns:xsl', 'http://www.w3.org/1999/XSL/Transform'
207:           add_attribute 'id', id.to_s
208:         end

[Validate]