Send data to xml

I tried the Example: Simple Editor which sends and loads data from XML file but it didn’t work. Does anyone know why?? I really need to send data to xml but I couldn’t find a way of using XML.send correctly!
Cheers