error-html.xsl 834 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" xmlns="http://www.w3.org/1999/xhtml">
	<xsl:output omit-xml-declaration="no" method="xml" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" indent="yes" encoding="UTF-8" />
	<xsl:include href="includes/web-page.xsl"/>
	<xsl:variable name="title">Error</xsl:variable>

	<xsl:template name="content">
		<div class="roundbox">
			<xsl:for-each select="/report/incident">
				<div class="article">
					<h3>Response</h3>
					<h4>Message</h4>
					<p><xsl:value-of select="state/text" /></p>
13 14 15
					<xsl:if test="state/@definition">
					<p>Error code: <xsl:value-of select="state/@definition" /></p>
					</xsl:if>
16 17 18 19 20
				</div>
			</xsl:for-each>
		</div>
	</xsl:template>
</xsl:stylesheet>