| 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.32 2004/08/12 18:07:12 swift Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/xml-guide.xml,v 1.33 2004/09/24 20:46:42 swift 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 | |
| 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"> |
| … | |
… | |
| 73 | <section> |
73 | <section> |
| 74 | <title>Basic structure</title> |
74 | <title>Basic structure</title> |
| 75 | <body> |
75 | <body> |
| 76 | |
76 | |
| 77 | <p> |
77 | <p> |
| 78 | Now that you know how to transform guide XML, you're ready to start learning |
78 | Now that you know how to transform guide XML, you're ready to start learning |
| 79 | the GuideXML syntax. We'll start with the the initial tags used in a guide |
79 | the GuideXML syntax. We'll start with the the initial tags used in a guide |
| 80 | XML document: |
80 | XML document: |
| 81 | </p> |
81 | </p> |
| 82 | |
82 | |
| 83 | <pre caption="The initial part of a guide XML document"> |
83 | <pre caption="The initial part of a guide XML document"> |
| 84 | <?xml version='1.0' encoding="UTF-8"?> |
84 | <?xml version='1.0' encoding="UTF-8"?> |
| 85 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
85 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 86 | <guide link="relative_link_to_your_guide"> |
86 | <guide link="relative_link_to_your_guide"> |
| 87 | <title><i>Gentoo Linux Documentation Guide</i></title> |
87 | <title><i>Gentoo Linux Documentation Guide</i></title> |
| 88 | <author title="<i>Chief Architect</i>"> |
|
|
| 89 | <mail link="<i>drobbins@gentoo.org</i>"><i>Daniel Robbins</i></mail> |
|
|
| 90 | </author> |
|
|
| 91 | <author title="<i>Editor</i>"> |
88 | <author title="<i>Author</i>"> |
| 92 | <mail link="<i>thomasfl@gentoo.org</i>"><i>Thomas Flavel</i></mail> |
89 | <mail link="<i>yourname@gentoo.org</i>"><i>Your Name</i></mail> |
| 93 | </author> |
90 | </author> |
| 94 | |
91 | |
| 95 | <abstract> |
92 | <abstract> |
| 96 | <i>This guide shows you how to compose web documentation using |
93 | <i>This guide shows you how to compose web documentation using |
| 97 | our new lightweight Gentoo GuideXML syntax. This syntax is the official |
94 | our new lightweight Gentoo GuideXML syntax. This syntax is the official |
| 98 | format for Gentoo Linux web documentation, and this document itself was created |
95 | format for Gentoo Linux web documentation, and this document itself was created |
| 99 | using GuideXML.</i> |
96 | using GuideXML.</i> |
| 100 | </abstract> |
97 | </abstract> |
| 101 | |
98 | |
| 102 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
99 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 103 | <!-- See http://creativecommons.org/licenses/by-sa/2.0 --> |
100 | <!-- See http://creativecommons.org/licenses/by-sa/2.0 --> |
| 104 | <license/> |
101 | <license/> |
| 105 | |
102 | |
| 106 | <version><i>1.0</i></version> |
103 | <version><i>1.0</i></version> |
| 107 | <date><i>29 Mar 2001</i></date> |
104 | <date><i>29 Mar 2001</i></date> |