one major bugs fixes in this edit:
take the xml save function out of loops($xml_output->save)
Problem: We have our xml files inside wp-admin folder! in khoobtar.com we had it on public html file!