Method: IsoDoc::Convert#preprocess_xslt

Defined in:
lib/isodoc/convert.rb

#preprocess_xslt(docxml) ⇒ Object



123
124
125
126
127
128
129
130
131
132
# File 'lib/isodoc/convert.rb', line 123

def preprocess_xslt(docxml)
  sheets = extract_preprocess_xslt(docxml)
  sheets.each do |x|
    docxml = Nokogiri::XSLT(x).transform(docxml)
  end
  docxml
rescue ::Error => e
  require "debug"
  binding.b
end