Fixing copy xml syntax