aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/books/fdp-primer/sgml-markup
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2013-06-20 10:40:37 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2013-06-20 10:40:37 +0000
commitd1543284b1d334f134d6feefa28ce0f7a5e1224e (patch)
tree33c6ca15e4dc992e706b17c8ce1fc113db70d72a /en_US.ISO8859-1/books/fdp-primer/sgml-markup
parent71e721a7b688172c8647e387b303bd043a5f209d (diff)
downloaddoc-d1543284b1d334f134d6feefa28ce0f7a5e1224e.tar.gz
doc-d1543284b1d334f134d6feefa28ce0f7a5e1224e.zip
- Avoid comments in CDATA sections so that these documents can easily be
converted to DocBook 5.0. This results in an ugly markup at some parts but this can be corrected after the conversion is done. Anyway, these sections need serious rewriting. - Fix a double application element
Notes
Notes: svn path=/projects/db5/; revision=41955
Diffstat (limited to 'en_US.ISO8859-1/books/fdp-primer/sgml-markup')
-rw-r--r--en_US.ISO8859-1/books/fdp-primer/sgml-markup/chapter.xml28
1 files changed, 12 insertions, 16 deletions
diff --git a/en_US.ISO8859-1/books/fdp-primer/sgml-markup/chapter.xml b/en_US.ISO8859-1/books/fdp-primer/sgml-markup/chapter.xml
index 49626b5055..6b8f2852c8 100644
--- a/en_US.ISO8859-1/books/fdp-primer/sgml-markup/chapter.xml
+++ b/en_US.ISO8859-1/books/fdp-primer/sgml-markup/chapter.xml
@@ -155,21 +155,21 @@
<para>Use:</para>
- <programlisting><![CDATA[<h1>First section</h1>
+ <programlisting>&lt;h1&gt;First section&lt;/h1&gt;
-<!-- Document introduction goes here -->
+&lt;!&hyphen;- Document introduction goes here -&hyphen;&gt;
-<h2>This is the heading for the first section</h2>
+&lt;h2&gt;This is the heading for the first section&lt;/h2&gt;
-<!-- Content for the first section goes here -->
+&lt;!&hyphen;- Content for the first section goes here -&hyphen;&gt;
-<h3>This is the heading for the first sub-section</h3>
+&lt;h3&gt;This is the heading for the first sub-section&lt;/h3&gt;
-<!-- Content for the first sub-section goes here -->
+&lt;!&hyphen;- Content for the first sub-section goes here -&hyphen;&gt;
-<h2>This is the heading for the second section</h2>
+&lt;h2&gt;This is the heading for the second section&lt;/h2&gt;
-<!-- Content for the second section goes here -->]]></programlisting>
+&lt;!&hyphen;- Content for the second section goes here -&hyphen;&gt;</programlisting>
</example>
<para>Generally, an XHTML page should have one first level
@@ -188,13 +188,13 @@
<para>Use:</para>
- <programlisting><![CDATA[<h1>First section</h1>
+ <programlisting>&lt;h1&gt;First section&lt;/h1&gt;
-<!-- Document introduction -->
+&lt;!&hyphen;- Document introduction -&hyphen;&gt;
-<h3>Sub-section</h3>
+&lt;h3&gt;Sub-section&lt;/h3&gt;
-<!-- This is bad, <h2> has been left out -->]]></programlisting>
+&lt;!&hyphen;- This is bad, &lt;h2&gt; has been left out -&hyphen;&gt;</programlisting>
</example>
</sect3>
@@ -471,10 +471,6 @@
</tr>
<tr>
- <!-- Because the large cell on the left merges into
- this row, the first <td> will occur on its
- right -->
-
<td>Middle right cell</td>
</tr>