Method: OpenNebula::XMLElement#template_xml

Defined in:
lib/opennebula/xml_element.rb

#template_xmlObject

Returns the <TEMPLATE> element in XML form



279
280
281
282
283
284
285
# File 'lib/opennebula/xml_element.rb', line 279

def template_xml
    if NOKOGIRI
        @xml.xpath('TEMPLATE').to_s
    else
        @xml.elements['TEMPLATE'].to_s
    end
end