/[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.55 Revision 1.56
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.55 2005/12/19 17:57:43 neysx Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/xml-guide.xml,v 1.56 2005/12/31 17:17:13 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
847</pre> 847</pre>
848 848
849<p> 849<p>
850So far no real differences (except for the <c>&lt;book&gt;</c> instead of 850So far no real differences (except for the <c>&lt;book&gt;</c> instead of
851<c>&lt;guide&gt;</c> tag). Instead of starting with the individual 851<c>&lt;guide&gt;</c> tag). Instead of starting with the individual
852<c>&lt;chapter&gt;</c>'s, you define a <c>&lt;part&gt;</c>, which is the 852<c>&lt;chapter&gt;</c>s, you define a <c>&lt;part&gt;</c>, which is the
853equivalent of a separate part in a book: 853equivalent of a separate part in a book:
854</p> 854</p>
855 855
856<pre caption="Defining a part"> 856<pre caption="Defining a part">
857&lt;part&gt; 857&lt;part&gt;
868Each part is accompanied by a <c>&lt;title&gt;</c> and an 868Each part is accompanied by a <c>&lt;title&gt;</c> and an
869<c>&lt;abstract&gt;</c> which gives a small introduction to the part. 869<c>&lt;abstract&gt;</c> which gives a small introduction to the part.
870</p> 870</p>
871 871
872<p> 872<p>
873Inside each part, you define the individual <c>&lt;chapter&gt;</c>'s. Each 873Inside each part, you define the individual <c>&lt;chapter&gt;</c>s. Each
874chapter <e>must</e> be a separate document. As a result it is no surprise that a 874chapter <e>must</e> be a separate document. As a result it is no surprise that
875special tag (<c>&lt;include&gt;</c>) is added to allow including the separate 875a special tag (<c>&lt;include&gt;</c>) is added to allow including the separate
876document. 876document.
877</p> 877</p>
878 878
879<pre caption="Defining a chapter"> 879<pre caption="Defining a chapter">
880&lt;chapter&gt; 880&lt;chapter&gt;
915 915
916&lt;/sections&gt; 916&lt;/sections&gt;
917</pre> 917</pre>
918 918
919<p> 919<p>
920Inside each chapter you can define <c>&lt;section&gt;</c>'s (equivalent of 920Inside each chapter you can define <c>&lt;section&gt;</c>s (equivalent of
921<c>&lt;chapter&gt;</c> in a Guide) and <c>&lt;subsection&gt;</c>'s (equivalent 921<c>&lt;chapter&gt;</c> in a Guide) and <c>&lt;subsection&gt;</c>s (equivalent
922of <c>&lt;section&gt;</c> in a Guide). 922of <c>&lt;section&gt;</c> in a Guide).
923</p> 923</p>
924 924
925<p> 925<p>
926Each individual chapter should have its own date and version elements. The 926Each individual chapter should have its own date and version elements. The

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

  ViewVC Help
Powered by ViewVC 1.1.20