12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: cpscrn
- (C) Copyright IBM Corp. 2005, 2011
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <!--
- Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
- Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
- -->
- <!-- $Header: //cpscrn/main/templates/cps4/producer/wsrp-impl/transforms/display-error.xslt#1 $ -->
- <!-- $DateTime: 2008/10/22 11:12:04 $ -->
- <!-- $Change: 25109 $ -->
- <xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:xts="http://developer.cognos.com/schemas/xts/"
- exclude-result-prefixes="xts">
- <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
- <xsl:template match="/">
- <xsl:variable name="last-error" select="/root/error/xts:exception[last()]"/>
-
- <table border="0" cellspacing="7" cellpadding="0" valign="top" width="100%">
- <tr>
- <td class="portlet-font">
- <b><xts:string id="IDS_PRO_ERR_APPLICATION_ERROR"/></b>
- </td>
- </tr>
- <tr>
- <td class="portlet-msg-error">
- <xsl:choose>
- <xsl:when test="$last-error/xts:exceptionMsg != ''">
- <xsl:value-of select="$last-error/xts:exceptionMsg"/>
- </xsl:when>
- <xsl:otherwise>
- <xts:string id="IDS_PRO_ERR_ERROR_CODE"/>
- <xsl:value-of select="$last-error/xts:exceptionCode"/>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- </table>
- </xsl:template>
- </xsl:stylesheet>
|