Debian Codegraph @

ru/VERSION.xml

raw symbols SCIP
1 <?xml version='1.0' encoding='utf-8'?> <!-- -*- nxml -*- -->
2
3 <!-- This file should be changed EVERY TIME a new draft is published! -->
4
5 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6 xmlns:fm="http://freshmeat.net/projects/freshmeat-submit/"
7 xmlns:sf="http://sourceforge.net/"
8 exclude-result-prefixes="fm sf"
9 version='1.0'>
10
11 <xsl:param name="freshmeat" select="0"/>
12
13 <xsl:param name="VERSION" select="string(document('')//fm:Version[1])"/>
14 <xsl:strip-space elements="fm:*"/>
15
16 <fm:project>
17 <fm:Project>DocBook</fm:Project>
18 <fm:Branch>The Definitive Guide</fm:Branch>
19 <fm:Version>2.0.9</fm:Version>
20 <fm:Release-Focus>
21 <!-- Initial freshmeat announcement -->
22 Documentation
23 <!-- Code cleanup -->
24 <!-- Minor feature enhancements -->
25 <!-- Major feature enhancements -->
26 <!-- Minor bugfixes -->
27 <!-- Major bugfixes -->
28 <!-- Minor security fixes -->
29 <!-- Major security fixes -->
30 </fm:Release-Focus>
31 <fm:Home-Page-URL>http://docbook.org/tdg/en/</fm:Home-Page-URL>
32 <fm:Zipped-Tar-URL>http://docbook.org/tdg/en/tdg-en-html-{VERSION}.zip</fm:Zipped-Tar-URL>
33 <fm:Changelog-URL>http://docbook.org/tdg/en/html/appi.html</fm:Changelog-URL>
34 <fm:CVS-URL>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/docbook/defguide/</fm:CVS-URL>
35 <fm:Mailing-List-URL>http://lists.oasis-open.org/archives/docbook/</fm:Mailing-List-URL>
36 <fm:Changes>Update for DocBook V4.3CR2. See ChangeLog for details.</fm:Changes>
37 </fm:project>
38
39 <xsl:template name="bookinfo">
40 <bookinfo>
41 <mediaobject role="online">
42 <imageobject>
43 <imagedata fileref="figures/cover.png" align="left"/>
44 </imageobject>
45 </mediaobject>
46 <title>DocBook</title>
47 <subtitle>The Definitive Guide</subtitle>
48 <authorgroup>
49 <author><firstname>Norman</firstname><surname>Walsh</surname></author>
50 <author><firstname>Leonard</firstname><surname>Muellner</surname></author>
51 <othercredit><firstname>Bob</firstname><surname>Stayton</surname></othercredit>
52 </authorgroup>
53 <editor><firstname>Frank</firstname><surname>Willison</surname></editor>
54 <editor role="production"><firstname>David</firstname><surname>Futato</surname></editor>
55 <publisher>
56 <publishername>O'Reilly &amp; Associates, Inc.</publishername>
57 <address><city>Beijing</city></address>
58 <address><city>Cambridge</city></address>
59 <address><city>Farnham</city></address>
60 <address><city>Köln</city></address>
61 <address><city>Paris</city></address>
62 <address><city>Sebastopol</city></address>
63 <address><city>Taipei</city></address>
64 <address><city>Tokyo</city></address>
65 </publisher>
66 <printhistory>
67 <para>October 1999: First Edition.</para>
68 </printhistory>
69 <isbn>156592-580-7</isbn>
70 <releaseinfo>
71 <xsl:value-of select="$VERSION"/>
72 </releaseinfo>
73 <pubdate>$Date$</pubdate>
74
75 <legalnotice>
76 <para condition="online">
77 <citetitle>DocBook: The Definitive Guide</citetitle> Copyright
78 © 1999, 2000, 2001, 2002, 2003 O'Reilly &amp; Associates, Inc.</para>
79
80 <para>Permission is granted to copy, distribute and/or modify this
81 document under the terms of the GNU Free Documentation License,
82 Version 1.1 or any later version published by the Free Software
83 Foundation.
84 A copy of the license is included in <xref linkend="gfdl"/>.</para>
85
86 <para>Nutshell Handbook, the Nutshell Handbook logo, and the O'Reilly
87 logo are registered trademarks of O'Reilly &amp; Associates, Inc. The
88 association between the image of a duck and the topic of DocBook is a
89 trademark of O'Reilly &amp; Associates, Inc. Java and all Java-based
90 trademarks and logos are trademarks or registered trademarks of Sun
91 Microsystems, Inc., in the United States and other countries. O'Reilly
92 &amp; Associates, Inc. is independent of Sun Microsystems.
93 </para>
94
95 <para>Many of the designations used by manufacturers and sellers to
96 distinguish their products are claimed as trademarks. Where those
97 designations appear in this book, and O'Reilly &amp; Associates, Inc.
98 was aware of a trademark claim, the designations have been printed in
99 caps or initial caps. While every precaution has been taken in the
100 preparation of this book, the publisher assumes no responsibility for
101 errors or omissions, or for damages resulting from the use of the
102 information contained herein.
103 </para>
104
105 </legalnotice>
106
107 <copyright>
108 <year>1999</year>
109 <year>2000</year>
110 <year>2001</year>
111 <year>2002</year>
112 <year>2003</year>
113 <holder>O'Reilly &amp; Associates, Inc. All rights reserved.</holder>
114 </copyright>
115 </bookinfo>
116 </xsl:template>
117
118 <xsl:template match="/">
119 <xsl:choose>
120 <xsl:when test="$freshmeat != 0">
121 <xsl:apply-templates select="//fm:project"/>
122 </xsl:when>
123 <xsl:otherwise>
124 <xsl:call-template name="bookinfo"/>
125 </xsl:otherwise>
126 </xsl:choose>
127 </xsl:template>
128
129 <xsl:template match="fm:project">
130 <xsl:text>&#10;</xsl:text>
131 <xsl:apply-templates/>
132 <xsl:text>&#10;</xsl:text>
133 <xsl:apply-templates select="fm:Changes" mode="text"/>
134 <xsl:text>&#10;</xsl:text>
135 </xsl:template>
136
137 <xsl:template match="fm:Changes"/>
138
139 <xsl:template match="fm:*">
140 <xsl:value-of select="local-name(.)"/>
141 <xsl:text>: </xsl:text>
142
143 <xsl:call-template name="value">
144 <xsl:with-param name="text" select="normalize-space(.)"/>
145 </xsl:call-template>
146 <xsl:text>&#10;</xsl:text>
147 </xsl:template>
148
149 <xsl:template name="value">
150 <xsl:param name="text"/>
151
152 <xsl:call-template name="string.subst">
153 <xsl:with-param name="string" select="$text"/>
154 <xsl:with-param name="target" select="'{VERSION}'"/>
155 <xsl:with-param name="replacement" select="$VERSION"/>
156 </xsl:call-template>
157 </xsl:template>
158
159 <xsl:template name="string.subst">
160 <xsl:param name="string"/>
161 <xsl:param name="target"/>
162 <xsl:param name="replacement"/>
163
164 <xsl:choose>
165 <xsl:when test="contains($string, $target)">
166 <xsl:variable name="rest">
167 <xsl:call-template name="string.subst">
168 <xsl:with-param name="string" select="substring-after($string, $target)"/>
169 <xsl:with-param name="target" select="$target"/>
170 <xsl:with-param name="replacement" select="$replacement"/>
171 </xsl:call-template>
172 </xsl:variable>
173 <xsl:value-of select="concat(substring-before($string, $target),
174 $replacement,
175 $rest)"/>
176 </xsl:when>
177 <xsl:otherwise>
178 <xsl:value-of select="$string"/>
179 </xsl:otherwise>
180 </xsl:choose>
181 </xsl:template>
182
183 </xsl:stylesheet>