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