included xml_on_parse function to parse OpenNebula image templates