@ardav leave it, I think i'm missing something I could not make it clear to you guys.
I'm trying again to explain, in index.php im sending a REST request through url then that API returning that xml file to my callback.php page so I don't understand how to put that xml manually inside the $return variable like you did.
Their forum is DEAD so they won't help me with this issue,thats why I asked on daniweb. Do not misunderstand please.
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: