/[gentoo]/xml/htdocs/doc/en/xml-guide.xml
Gentoo

Diff of /xml/htdocs/doc/en/xml-guide.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.15 Revision 1.16
189link="/doc/en/doc-policy.xml">Documentation Policy</uri>. 189link="/doc/en/doc-policy.xml">Documentation Policy</uri>.
190</p> 190</p>
191 191
192</body> 192</body>
193</section> 193</section>
194 194
195<section> 195<section>
196<title>Chapters and sections</title> 196<title>Chapters and sections</title>
197<body> 197<body>
198 198
199<p> 199<p>
200Once the initial tags have been specified, you're ready to start adding 200Once the initial tags have been specified, you're ready to start adding
201the structural elements of the document. Guide documents are divided into 201the structural elements of the document. Guide documents are divided into
202chapters, and each chapter can hold one or more sections. Every chapter 202chapters, and each chapter can hold one or more sections. Every chapter
203and section has a title. Here's an example chapter with a single section, 203and section has a title. Here's an example chapter with a single section,
204consisting of a paragraph. If you append this XML to the XML in the <uri link="#doc_pre2">previous 204consisting of a paragraph. If you append this XML to the XML in the <uri link="#doc_chap2_pre1">previous
205excerpt</uri> and append a <c>&lt;/guide&gt;</c> to the end of the file, you'll have a valid 205excerpt</uri> and append a <c>&lt;/guide&gt;</c> to the end of the file, you'll have a valid
206(if minimal) guide document: 206(if minimal) guide document:
207</p> 207</p>
208 208
209<pre> 209<pre>
210&lt;chapter&gt; 210&lt;chapter&gt;
211&lt;title&gt;<i>This is my chapter</i>&lt;/title&gt; 211&lt;title&gt;<i>This is my chapter</i>&lt;/title&gt;
212&lt;section&gt; 212&lt;section&gt;
213&lt;title&gt;<i>This is section one of my chapter</i>&lt;/title&gt; 213&lt;title&gt;<i>This is section one of my chapter</i>&lt;/title&gt;
214&lt;body&gt; 214&lt;body&gt;
215 215
216&lt;p&gt; 216&lt;p&gt;
217<i>This is the actual text content of my section.</i> 217<i>This is the actual text content of my section.</i>
218&lt;/p&gt; 218&lt;/p&gt;
219 219

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20