Use move for XML parser