12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: cpscrn
- (C) Copyright IBM Corp. 2005, 2015
- 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).
- -->
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:template name="render-page">
- <html>
- <xsl:attribute name="lang">
- <xsl:choose>
- <xsl:when test="string($productLocale)!=''"><xsl:value-of select="$productLocale"/></xsl:when>
- <xsl:otherwise><xsl:value-of select="''"/></xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <xsl:if test="$is-ui-rtl">
- <xsl:attribute name="class">rtl</xsl:attribute>
- </xsl:if>
- <head>
- <title>
- <xsl:value-of select="/root/info/title"/>
- </title>
- <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <meta content="(C) Copyright IBM Corp. 2005, 2011" name="copyright"/>
- <meta content="Licensed Material - Property of IBM Corp. IBM, the IBM logo, and Cognos are trademarks of IBM Corp., registered in many jurisdictions worldwide." name="trademark"/>
- <xsl:for-each select="/root/styles/css">
- <link type="{@type}" media="{@media}" rel="stylesheet" href="{@href}"/>
- </xsl:for-each>
- <xsl:call-template name="fragment-globals"/>
- <script type="text/javascript">
- <xsl:attribute name="src"><xsl:value-of select="$applicationGateway"/><xsl:text>/messages/messages/pfmessages?section=JS</xsl:text></xsl:attribute>
- </script>
- <xsl:for-each select="/root/libraries/library">
- <script type="{@type}" src="{@href}"/>
- </xsl:for-each>
- <xsl:call-template name="html-globals"/>
- </head>
- <!-- Do not add any element under body. the template "html-pre-page" might add an attribute to the body element which will fail if there is an element under body before calling that template -->
- <body>
- <xsl:if test="$is-ui-rtl">
- <xsl:attribute name="dir">rtl</xsl:attribute>
- </xsl:if>
- <xsl:call-template name="html-pre-page"/>
- <xsl:call-template name="html-header"/>
- <xsl:call-template name="html-body"/>
- <xsl:call-template name="html-footer"/>
- <xsl:call-template name="html-post-page"/>
- <form name="cps_backjaxform" id="cps_backjaxform" aria-hidden="true" role="form">
- <input type="hidden" name="visited" value="false"/>
- </form>
- </body>
- </html>
- </xsl:template>
- <!-- extensions: override as needed -->
- <xsl:template name="html-globals"/>
- <xsl:template name="html-pre-page"/>
- <xsl:template name="html-header"/>
- <xsl:template name="html-body"/>
- <xsl:template name="html-footer"/>
- <xsl:template name="html-post-page"/>
- </xsl:stylesheet>
|