/[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.11 Revision 1.12
11XML syntax. This syntax is the official format for Gentoo Linux documentation, and this document 11XML syntax. This syntax is the official format for Gentoo Linux documentation, and this document
12itself was created using guide XML. This guide assumes a basic working knowledge of XML and HTML. 12itself was created using guide XML. This guide assumes a basic working knowledge of XML and HTML.
13</abstract> 13</abstract>
14 14
15<version>2.0</version> 15<version>2.0</version>
16<date>15 April 2003</date> 16<date>12 May 2003</date>
17 17
18<chapter> 18<chapter>
19<title>Guide basics</title> 19<title>Guide basics</title>
20 20
21<section> 21<section>
252Besides the <c>&lt;table&gt;</c> element (which we'll cover in just a bit), 252Besides the <c>&lt;table&gt;</c> element (which we'll cover in just a bit),
253these are the only tags that should appear immediately inside a 253these are the only tags that should appear immediately inside a
254<c>&lt;body&gt;</c> element. Another thing -- these tags <e>should not</e> be 254<c>&lt;body&gt;</c> element. Another thing -- these tags <e>should not</e> be
255stacked -- in other words, don't put a <c>&lt;note&gt;</c> element inside a 255stacked -- in other words, don't put a <c>&lt;note&gt;</c> element inside a
256<c>&lt;p&gt;</c> element. As you might guess, the <c>&lt;pre&gt;</c> element 256<c>&lt;p&gt;</c> element. As you might guess, the <c>&lt;pre&gt;</c> element
257preserves its whitespace exactly, making it well-suited for code excerpts.</p> 257preserves its whitespace exactly, making it well-suited for code excerpts.
258You can also name the <c>&lt;pre&gt;</c> tag:</p>
259
260<pre caption = "Named &lt;pre&gt;">
261&lt;pre caption = "Output of uptime"&gt;
262# &lt;i&gt;uptime&lt;/i&gt;
26316:50:47 up 164 days, 2:06, 5 users, load average: 0.23, 0.20, 0.25
264&lt;/pre&gt;
265</pre>
258 266
259</body> 267</body>
260</section> 268</section>
261<section> 269<section>
262<title>&lt;path&gt;, &lt;c&gt; and &lt;e&gt;</title> 270<title>&lt;path&gt;, &lt;c&gt; and &lt;e&gt;</title>

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20