Automagic XML sync