generate some functional xml