xml format script