Method: IsoDoc::Convert#preprocess_xslt

Defined in:
lib/isodoc/convert.rb

#preprocess_xslt(docxml) ⇒ Object



112
113
114
115
116
117
118
119
120
# File 'lib/isodoc/convert.rb', line 112

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