Removed convert to xml for preview.