/[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.60 Revision 1.61
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.60 2006/04/10 09:15:44 neysx Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/xml-guide.xml,v 1.61 2006/04/26 10:26:55 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 XML Guide</title> 6<title>Gentoo 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>5</version> 35<version>6</version>
36<date>2006-04-10</date> 36<date>2006-04-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>
536</p> 536</p>
537 537
538<p> 538<p>
539Besides, both table headers (<c>&lt;th&gt;</c>) and table items 539Besides, both table headers (<c>&lt;th&gt;</c>) and table items
540(<c>&lt;ti&gt;</c>) accept the <c>colspan</c> and <c>rowspan</c> attributes to 540(<c>&lt;ti&gt;</c>) accept the <c>colspan</c> and <c>rowspan</c> attributes to
541span their content across rows, columns or both as shown below: 541span their content across rows, columns or both.
542</p>
543
544<p>
545Furthermore, table items (<c>&lt;ti&gt;</c>) can be right-aligned or centered
546with the <c>align</c> attribute. Table headers (<c>&lt;th&gt;</c>) are
547automatically centered.
542</p> 548</p>
543 549
544<table> 550<table>
545 <tr> 551 <tr>
546 <th colspan="4">This title spans 4 columns</th> 552 <th colspan="4">This title spans 4 columns</th>
550 <ti>Item A1</ti> 556 <ti>Item A1</ti>
551 <ti>Item A2</ti> 557 <ti>Item A2</ti>
552 <ti>Item A3</ti> 558 <ti>Item A3</ti>
553 </tr> 559 </tr>
554 <tr> 560 <tr>
555 <ti>Item B1</ti> 561 <ti align="center">Item B1</ti>
556 <th colspan="2" rowspan="2">Blocky 2x2 title</th> 562 <th colspan="2" rowspan="2">Blocky 2x2 title</th>
557 </tr> 563 </tr>
558 <tr> 564 <tr>
559 <ti>Item C1</ti> 565 <ti align="right">Item C1</ti>
560 </tr> 566 </tr>
561 <tr> 567 <tr>
562 <ti colspan="3">Item D1..D3</ti> 568 <ti colspan="3" align="center">Item D1..D3</ti>
563 </tr> 569 </tr>
564 <tr> 570 <tr>
565 <ti rowspan="2">Item E1..F1</ti> 571 <ti rowspan="2">Item E1..F1</ti>
566 <ti colspan="2">Item E2..E3</ti> 572 <ti colspan="2" align="right">Item E2..E3</ti>
567 </tr> 573 </tr>
568 <tr> 574 <tr>
569 <ti colspan="2">Item F2..F3</ti> 575 <ti colspan="2" align="right">Item F2..F3</ti>
570 </tr> 576 </tr>
571</table> 577</table>
572 578
573</body> 579</body>
574</section> 580</section>

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.61

  ViewVC Help
Powered by ViewVC 1.1.20