Mercurial > hg > nginx-site
annotate xslt/error.xslt @ 2947:39a5ac34d794
nginx-1.23.4
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 28 Mar 2023 18:06:29 +0300 |
parents | c704a743f269 |
children |
rev | line source |
---|---|
170 | 1 <?xml version="1.0" encoding="utf-8"?> |
1085 | 2 <!-- |
3 Copyright (C) Igor Sysoev | |
4 Copyright (C) Nginx, Inc. | |
5 --> | |
6 | |
170 | 7 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
8 | |
1085 | 9 <xsl:output method="html" version="4.0" indent="no" encoding="utf-8"/> |
722 | 10 |
1085 | 11 <xsl:strip-space elements="*"/> |
722 | 12 |
1085 | 13 <!-- |
14 .. a current directory of a XSLT script is where the script is stored, | |
15 .. but not where XSLT processor has been started to run the script | |
16 --> | |
17 <xsl:param select="'../xml'" name="XML"/> | |
18 <xsl:param name="YEAR"/> | |
1313 | 19 <xsl:param name="ORIGIN"/> |
1085 | 20 <xsl:param name="TRANS"/> |
170 | 21 |
1085 | 22 <xsl:variable select="/error/@link" name="LINK"/> |
23 <xsl:variable select="/error/@lang" name="LANG"/> | |
170 | 24 |
1085 | 25 <xsl:include href="dirname.xslt"/> |
1313 | 26 <xsl:include href="link.xslt"/> |
27 <xsl:include href="style.xslt"/> | |
28 <xsl:include href="body.xslt"/> | |
1085 | 29 <xsl:include href="menu.xslt"/> |
1313 | 30 <xsl:include href="content.xslt"/> |
170 | 31 |
32 | |
1085 | 33 <xsl:template match="/error"> |
34 <html><head><title> <xsl:value-of select="@name"/> </title> | |
544 | 35 |
2875
c704a743f269
Removed google analytics.
Sergey Budnevitch <sb@waeme.net>
parents:
2851
diff
changeset
|
36 <xsl:call-template name="style"><xsl:with-param select="@lang" name="lang"/></xsl:call-template></head> |
170 | 37 |
1313 | 38 <xsl:call-template name="body"><xsl:with-param select="@lang" name="lang"/></xsl:call-template></html> |
1085 | 39 </xsl:template> |
170 | 40 |
41 </xsl:stylesheet> |