Scrivo da un input type text e poi lo salvo con il tuo file xmlgenerator.php in un file xml, che dopo rileggo.