blob: 594e13a6adf909504e8aa81104605c392f2414bd [file] [log] [blame]
<?xml version="1.0"?>
<!--
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" indent="yes" encoding="UTF-8"/>
<xsl:param name="html.stylesheet">stylesheet.css</xsl:param>
<xsl:param name="html.stylesheet.type">text/css</xsl:param>
<xsl:param name="head.title">error.title</xsl:param>
<xsl:include href="common.xsl"/>
<xsl:template match="/" name="httpexception">
<html>
<xsl:call-template name="head"/>
<body>
<xsl:call-template name="toprow"/>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="100%" class="page_title">
<xsl:call-template name="str">
<xsl:with-param name="id">error.title</xsl:with-param>
</xsl:call-template>
</td>
</tr>
<xsl:for-each select="HttpException">
<tr>
<td>
<xsl:call-template name="str">
<xsl:with-param name="id">error.httpexception.code</xsl:with-param>
<xsl:with-param name="p0"><xsl:value-of select="@code"/></xsl:with-param>
</xsl:call-template>
</td>
</tr>
<tr>
<td>
<xsl:call-template name="str">
<xsl:with-param name="id">error.httpexception.message</xsl:with-param>
<xsl:with-param name="p0"><xsl:value-of select="@description"/></xsl:with-param>
</xsl:call-template>
</td>
</tr>
</xsl:for-each>
</table>
<xsl:call-template name="bottom"/>
</body>
</html>
</xsl:template>
</xsl:stylesheet>