1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml">
7 How to Convert to XHTML
9 <link href="nxhtml.css" rel="StyleSheet" type="text/css" />
13 How to Convert to XHTML
16 With nxhtml-mode you can edit XHTML documents, but not HTML
17 dito. So what do you do with your old HTML documents? The
18 answer is simple: You convert them to XHTML! There is today
19 not many reasons not to convert them to XHTML. You may say
20 "but what about old browsers?". Most users just do not have
21 old browsers today. Old browsers are too dangerous to use on the
25 You can convert the documents easily from within nxhtml-mode
26 with <a href= "http://tidy.sourceforge.net/">Tidy</a>. However
27 Tidy does not come with nxhtml, you have to install it yourself.
30 When Tidy is called from Emacs you can do a whole directory tree
31 at once. When a buffer is in nxhtml-mode (and tidy.el is found)
32 there is an entry on the menus called <b>Tidy</b> from which you
33 can access tidy and set the options for it. Note especially the
34 <b>Quick Options Settings</b> where you can set options for
35 converting to XHTML easily.