comparison xslt/error.xslt @ 722:91dd4a7fadbb

Regenerated.
author Ruslan Ermilov <ru@nginx.com>
date Fri, 12 Oct 2012 09:10:49 +0000
parents 1507ec5ba69a
children c454373427ef
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:include href="ga.xslt"/>
5 3
6 <xsl:output indent="no" version="4.0" encoding="utf-8" method="html"/> 4 <xsl:output indent="no" version="4.0" encoding="utf-8" method="html"/>
7 5
8 <xsl:strip-space elements="*"/> 6 <xsl:strip-space elements="*"/>
9 7
10 <xsl:param select="'../xml'" name="XML"/> 8 <xsl:param select="'../xml'" name="XML"/>
9
10 <xsl:param name="YEAR"/>
11
12 <xsl:param name="TRANS"/>
13
14 <xsl:variable select="/error/@link" name="LINK"/>
15
16 <xsl:variable select="/error/@lang" name="LANG"/>
17
18 <xsl:include href="dirname.xslt"/>
19
20 <xsl:include href="menu.xslt"/>
21
22 <xsl:include href="ga.xslt"/>
11 23
12 <xsl:template match="/error"> 24 <xsl:template match="/error">
13 25
14 <html> 26 <html>
15 <head> 27 <head>
60 </body> 72 </body>
61 73
62 </html> 74 </html>
63 </xsl:template> 75 </xsl:template>
64 76
65 <xsl:template match="menu/item">
66
67 <a href="{@href}">
68 <xsl:value-of select=" normalize-space(text())"/>
69 </a>
70 <br/>
71 </xsl:template>
72
73 <xsl:template match="menu/item[not(@href)]">
74
75 <xsl:value-of select=" normalize-space(text())"/>
76 <br/>
77 </xsl:template>
78
79 </xsl:stylesheet> 77 </xsl:stylesheet>