/[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.46 Revision 1.47
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/xml-guide.xml,v 1.46 2005/06/09 17:43:44 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/xml-guide.xml,v 1.47 2005/07/26 11:51:06 neysx Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/xml-guide.xml"> 5<guide link="/doc/en/xml-guide.xml">
6<title>Gentoo Linux XML Guide</title> 6<title>Gentoo Linux XML Guide</title>
7 7
30 30
31<!-- The content of this document is licensed under the CC-BY-SA license --> 31<!-- The content of this document is licensed under the CC-BY-SA license -->
32<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 32<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
33<license/> 33<license/>
34 34
35<version>2.22</version> 35<version>2.23</version>
36<date>2005-06-09</date> 36<date>2005-07-26</date>
37 37
38<chapter> 38<chapter>
39<title>Guide basics</title> 39<title>Guide basics</title>
40<section> 40<section>
41<title>Guide XML design goals</title> 41<title>Guide XML design goals</title>
418tag. However, for inserting actual table data, we <e>don't</e> support the 418tag. However, for inserting actual table data, we <e>don't</e> support the
419HTML &lt;td&gt; tag; instead, use the <c>&lt;th&gt;</c> if you are inserting a 419HTML &lt;td&gt; tag; instead, use the <c>&lt;th&gt;</c> if you are inserting a
420header, and <c>&lt;ti&gt;</c> if you are inserting a normal informational 420header, and <c>&lt;ti&gt;</c> if you are inserting a normal informational
421block. You can use a <c>&lt;th&gt;</c> anywhere you can use a <c>&lt;ti&gt;</c> 421block. You can use a <c>&lt;th&gt;</c> anywhere you can use a <c>&lt;ti&gt;</c>
422-- there's no requirement that <c>&lt;th&gt;</c> elements appear only in the 422-- there's no requirement that <c>&lt;th&gt;</c> elements appear only in the
423first row. Currently, these tags don't support any attributes, but some will 423first row. Currently, these tags don't support any attributes, but some might
424be added (such as a <c>caption=</c> attribute for <c>&lt;table&gt;</c>) soon. 424be added (such as a <c>caption=</c> attribute for <c>&lt;table&gt;</c>) later.
425</p> 425</p>
426 426
427<p> 427<p>
428To create ordered or unordered lists, simply use the XHTML-style 428To create ordered or unordered lists, simply use the XHTML-style
429<c>&lt;ol&gt;</c>, <c>&lt;ul&gt;</c> and <c>&lt;li&gt;</c> tags. List tags 429<c>&lt;ol&gt;</c>, <c>&lt;ul&gt;</c> and <c>&lt;li&gt;</c> tags. List tags
452</p> 452</p>
453 453
454<p> 454<p>
455However, some guides change often and using such "counting" can lead to broken 455However, some guides change often and using such "counting" can lead to broken
456links. In order to cope with this, you can define a name for a 456links. In order to cope with this, you can define a name for a
457<c>&lt;chapter&gt;</c> or <c>&lt;section&gt;</c> by using the <c>id</c> 457<c>&lt;chapter&gt;</c>, <c>&lt;section&gt;</c> or a <c>&lt;tr&gt;</c> by using
458attribute, and then point to that attribute, like this: 458the <c>id</c> attribute, and then point to that attribute, like this:
459</p> 459</p>
460 460
461<pre caption="Using the id attribute"> 461<pre caption="Using the id attribute">
462&lt;chapter id="foo"&gt; 462&lt;chapter id="foo"&gt;
463&lt;title&gt;This is foo!&lt;/title&gt; 463&lt;title&gt;This is foo!&lt;/title&gt;

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

  ViewVC Help
Powered by ViewVC 1.1.20