Option to save saveXML or saveHTML