Mercurial > hg > nginx-site
comparison xslt/download.xslt @ 722:91dd4a7fadbb
Regenerated.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 12 Oct 2012 09:10:49 +0000 |
parents | b133b1f44765 |
children | d900707102c6 |
comparison
equal
deleted
inserted
replaced
721:81ad082bc837 | 722:91dd4a7fadbb |
---|---|
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | 2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
3 | |
4 <xsl:output indent="no" version="4.0" encoding="utf-8" method="html"/> | |
5 | |
6 <xsl:strip-space elements="*"/> | |
7 | |
8 <xsl:param select="'../xml'" name="XML"/> | |
9 | |
10 <xsl:param name="YEAR"/> | |
11 | |
12 <xsl:variable select="/article/@link" name="LINK"/> | |
13 | |
14 <xsl:variable select="/article/@lang" name="LANG"/> | |
15 | |
16 <xsl:include href="dirname.xslt"/> | |
17 | |
18 <xsl:include href="link.xslt"/> | |
19 | |
20 <xsl:include href="style.xslt"/> | |
21 | |
22 <xsl:include href="body.xslt"/> | |
23 | |
24 <xsl:include href="menu.xslt"/> | |
25 | |
26 <xsl:include href="ga.xslt"/> | |
27 | |
28 <xsl:include href="content.xslt"/> | |
29 | |
30 <xsl:template match="/article"> | |
31 | |
32 <html> | |
33 <head> | |
34 | |
35 <title> | |
36 <xsl:value-of select="@name"/> | |
37 </title> | |
38 | |
39 <xsl:call-template name="style"> | |
40 <xsl:with-param select="@lang" name="lang"/> | |
41 </xsl:call-template> | |
42 | |
43 <xsl:call-template name="ga"/> | |
44 | |
45 </head> | |
46 | |
47 <xsl:call-template name="body"> | |
48 <xsl:with-param select="@lang" name="lang"/> | |
49 </xsl:call-template> | |
50 | |
51 </html> | |
52 </xsl:template> | |
53 | 3 |
54 <xsl:template match="download"> | 4 <xsl:template match="download"> |
55 <table width="100%"> | 5 <table width="100%"> |
56 <xsl:apply-templates select="item"/> | 6 <xsl:apply-templates select="item"/> |
57 </table> | 7 </table> |