Russell Adams <rlad...@adamsinfoserv.com> writes:
> FYI,
>
> I've found with recent versions Word 2003 fails to open an HTML
> export. It opens it in XML mode which none of my end users understand.
>
> If I delete the XML header at the top, and make the first line the
> <html> tag, it works fine.
>
> Perhaps that should be configurable in the export template?


M-x customize-variable RET org-export-html-xml-declaration RET

and set it to an empty string?

If you need to remove the the DOCTYPE too, you could use the
`org-export-html-final-hook' like this:

(add-hook 'org-export-html-final-hook
          (lambda ()
           (let ((kill-whole-line t))
            (goto-char (point-min))
            (kill-line 2))))



HTH,

  Sebastian

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to