12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: ps
- (C) Copyright IBM Corp. 2005, 2019
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <xts:morphlet xmlns:xts="http://developer.cognos.com/schemas/xts/" xmlns:cml="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/cml/1/" xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/" messageBase="messages/portal.xml, messages/portalRL.xml">
- <!--
- Interface:
- This morphlet used to render the welcome page. Now, As of Cognos 11, it simply redirects to the new IBM Cognos Analytics Welcome page
- -->
- <!--
- ===============================================================================================
- show the welcome page if that is what is desired
- ===============================================================================================
- -->
- <xts:block
- id="outputMain"
- mode="output"
- processor="XSLT"
- type="exec"
- mimeType="text/html"
- mandatory="false">
- <xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:xts="http://developer.cognos.com/schemas/xts/"
- xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
- xmlns:pf="http://developer.cognos.com/schemas/xts/pf" exclude-result-prefixes="xtsext xts pf">
- <xsl:variable name="webRoot">
- <xsl:choose>
- <xsl:when test="/root/http/param[@name='WEB_CONTENT_ROOT'] and string-length(string(/root/http/param[@name='WEB_CONTENT_ROOT'])) > 0">
- <xsl:value-of select="string(/root/http/param[@name='WEB_CONTENT_ROOT'])"/>
- </xsl:when>
- <xsl:otherwise>/bi</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:template match="/">
- <html>
- <head>
- <meta http-equiv="refresh">
- <xsl:attribute name="content">0; URL=<xsl:value-of select="concat($webRoot,'/index.html')"/></xsl:attribute>
- </meta>
- </head>
- </html>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
- </xts:morphlet>
|