attempt to automate and clone xml