Push xml into templates