neysx 05/05/12 16:48:46 Modified: xml/htdocs/doc/en xml-guide.xml Log: Added info about $Header$ line
Revision Changes Path 1.42 +19 -13 xml/htdocs/doc/en/xml-guide.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/xml-guide.xml?rev=1.42&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/xml-guide.xml?rev=1.42&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/xml-guide.xml.diff?r1=1.41&r2=1.42&cvsroot=gentoo Index: xml-guide.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/xml-guide.xml,v retrieving revision 1.41 retrieving revision 1.42 diff -u -r1.41 -r1.42 --- xml-guide.xml 12 May 2005 08:52:42 -0000 1.41 +++ xml-guide.xml 12 May 2005 16:48:46 -0000 1.42 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/xml-guide.xml,v 1.41 2005/05/12 08:52:42 cam Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/xml-guide.xml,v 1.42 2005/05/12 16:48:46 neysx Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/xml-guide.xml"> @@ -32,7 +32,7 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.0 --> <license/> -<version>2.18</version> +<version>2.19</version> <date>2005-05-12</date> <chapter> @@ -85,6 +85,8 @@ <pre caption="The initial part of a guide XML document"> <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> +<!-- $Header$ --> + <guide link="<i>relative/link/to/your/guide.xml</i>" lang="<i>en</i>"> <title><i>Gentoo Linux Documentation Guide</i></title> <author title="<i>Author</i>"> @@ -107,17 +109,19 @@ </pre> <p> -On the first, line, we see the requisite tag that identifies this as an XML -document. Following it, there's a <c><guide></c> tag -- the entire -guide document is enclosed within a <c><guide> </guide></c> pair. -The <c>link</c> attribute is compulsory and should preferably contain the -relative path to the document even though the file name alone will work. It is -mainly used to generate a link to a printer-friendly version of your document. -If you use a wrong value, the link to the printable version will either not -work or point to a wrong document. The <c>lang</c> attribute can be used to -specify the language code of your document. It is used to format the date and -insert strings like "<e>Note</e>", "<e>Content</e>", etc. in the specified -language. The default is English. +On the first lines, we see the requisite tag that identifies this as an XML +document and specifies its DTD. The <c><!-- $Header$ --></c> line +will be automatically modified by the CVS server and helps to track revisions. +Next, there's a <c><guide></c> tag -- the entire guide document +is enclosed within a <c><guide> </guide></c> pair. The <c>link</c> +attribute is compulsory and should preferably contain the relative path to the +document even though the file name alone will work. It is mainly used to +generate a link to a printer-friendly version of your document. If you use a +wrong value, the link to the printable version will either not work or point to +a wrong document. The <c>lang</c> attribute can be used to specify the language +code of your document. It is used to format the date and insert strings like +"<e>Note</e>", "<e>Content</e>", etc. in the specified language. The default +is English. </p> <p> @@ -639,6 +643,7 @@ <pre caption="Example book usage"> <?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE book SYSTEM "/dtd/book.dtd"> +<!-- $Header$ --> <<i>book</i> link="example.xml"> <title>Example Book Usage</title> @@ -714,6 +719,7 @@ <pre caption="Chapter Syntax"> <?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> +<!-- $Header$ --> <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/2.0 --> -- [email protected] mailing list
