/[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.56 Revision 1.57
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.56 2005/12/31 17:17:13 neysx Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/xml-guide.xml,v 1.57 2006/01/09 14:44:14 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
8<author title="Author"> 8<author title="Author">
9 <mail link="drobbins@gentoo.org">Daniel Robbins</mail> 9 <mail link="drobbins@gentoo.org">Daniel Robbins</mail>
10</author> 10</author>
11<author title="Author"><!-- zhen@gentoo.org --> 11<author title="Author"><!-- zhen@gentoo.org -->
12 John P. Davis 12 John P. Davis
13</author> 13</author>
14<author title="Editor"> 14<author title="Editor">
15 <mail link="peesh@gentoo.org">Jorge Paulo</mail> 15 <mail link="peesh@gentoo.org">Jorge Paulo</mail>
16</author> 16</author>
17<author title="Editor"> 17<author title="Editor">
694keep the <e>rendered</e> content of <c>&lt;pre&gt;</c> elements within 80 694keep the <e>rendered</e> content of <c>&lt;pre&gt;</c> elements within 80
695columns to help console users. 695columns to help console users.
696</p> 696</p>
697 697
698<p> 698<p>
699<b>Indentation</b> may not be used, except with the XML-constructs of which the 699<b>Indentation</b> may not be used, except with the XML-constructs of which the
700parent XML-tags are <c>&lt;tr&gt;</c> (from <c>&lt;table&gt;</c>), 700parent XML-tags are <c>&lt;tr&gt;</c> (from <c>&lt;table&gt;</c>),
701<c>&lt;ul&gt;</c>, <c>&lt;ol&gt;</c>, <c>&lt;dl&gt;</c>, and 701<c>&lt;ul&gt;</c>, <c>&lt;ol&gt;</c>, <c>&lt;dl&gt;</c>, and
702<c>&lt;author&gt;</c>. If indentation is used, it <e>must</e> be two spaces for 702<c>&lt;author&gt;</c>. If indentation is used, it <e>must</e> be two spaces for
703each indentation. That means <e>no tabs</e> and <e>not</e> more spaces. 703each indentation. That means <e>no tabs</e> and <e>not</e> more spaces.
704Besides, tabs are not allowed in GuideXML documents. 704Besides, tabs are not allowed in GuideXML documents.
705</p> 705</p>
706 706
707<p> 707<p>
708In case word-wrapping happens in <c>&lt;ti&gt;</c>, <c>&lt;th&gt;</c>, 708In case word-wrapping happens in <c>&lt;ti&gt;</c>, <c>&lt;th&gt;</c>,
709<c>&lt;li&gt;</c> or <c>&lt;dd&gt;</c>constructs, indentation must be used for 709<c>&lt;li&gt;</c> or <c>&lt;dd&gt;</c> constructs, indentation must be used for
710the content. 710the content.
711</p> 711</p>
712 712
713<p> 713<p>
714An example for indentation is: 714An example for indentation is:
715</p> 715</p>
716 716
717<pre caption="Indentation Example"> 717<pre caption="Indentation Example">
718&lt;table&gt; 718&lt;table&gt;
719&lt;tr&gt; 719&lt;tr&gt;
720 &lt;th&gt;Foo&lt;/th&gt; 720 &lt;th&gt;Foo&lt;/th&gt;
721 &lt;th&gt;Bar&lt;/th&gt; 721 &lt;th&gt;Bar&lt;/th&gt;
722&lt;/tr&gt; 722&lt;/tr&gt;
723&lt;tr&gt; 723&lt;tr&gt;
724 &lt;ti&gt;This is an example for indentation&lt;/ti&gt; 724 &lt;ti&gt;This is an example for indentation&lt;/ti&gt;

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

  ViewVC Help
Powered by ViewVC 1.1.20