# File lib/aeolus_image/model/warehouse/image.rb, line 36 def template_xml unless @template_xml begin @template_xml = Nokogiri::XML image_builds.first.target_images.first.target_template.body rescue @template_xml = Nokogiri::XML "<template></template>" end end @template_xml end