123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: rsvp
- (C) Copyright IBM Corp. 2005, 2020
- US Government Users Restricted Rights - Use, duplication or disclosure
- restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!--
- The parameters that the report server will possible set
- htmlFragment - generate a fragment (no head or body tags) when 'true'
- Xhtml - generate XHTML when 'true'
- promptSupport - include prompt support when 'true'
- drillSupport - include drill support 'inline', 'yes', 'no'
- sdkDrillSupport - include authored drill support for SDK apps when 'true'
- chartSupport - include chart support when 'true'
- chartSrc - the tag used to select the proper chart path
- reportTitle - the report title
- email - produce email compatible output (self contained) when 'true'
- mht - produce mht compatible output when 'true'
- httpUserAgent - the browser type when available
- gatewayPath - the gateway from the configuration
- basePath - the base path portion of the gateway
- contentLocale - the run locale
- productLocale - the product locale
- skin - the search path for prompt control skins in report output.
- interactiveOutput - the output is being returned in the SOAP response and is
- assumed to be consumed by a browser.
- firstPage - indicates this is the first page of a set making up a single document when 'true'
- lastPage - indicates this is the last page of a set making up a single document when 'true'
- testMode - running in test mode.
- chartEnableTransparencyIE - whether to enable special IE workarounds for chart image transparency
- hyperlinkButtonNewWindow - whether to open hyperlinks in a new window or the same window
- encoding - the encoding the output is being produced in.
- pageNumber - the current page number
- pageNumberString - the current page number as a human readable, localized string (for accessibility)
- strict - whether to generate strict XHTML or not, also includes some accessibility content
- generateContextData
- accessible - enable 'Section 508'-type accessibility on the output
- namespaceID - default value blank, can be overridden as a xslParameter run option.
- appSupport - include application support when 'true'
- generatorID - Version ID of output generator.
- PRMT_isBidiEnabled - Indicate if the bidi support is enabled for this output
- skipLinkText - localized text used in the link allowing users to skip the report header and jump to the report body
- headerLabelText - text used to tell visually impaired users they are viewing a list header row
- footerLabelText - text used to tell visually impaired users they are viewing a list footer row
- mobile - produce mobile compatible output when 'true'
- reportSectionLabelText - for accessibility, label the main application section with this
- emptyCellLabelText - for accessibility, label empty cells with this text
- physicalPageNumber - The physical page number. 0 means undefined.
- This is not necesarily the same as the PageNumber() report function.
- physicalPageCount - physical number of pages in the report. 0 means undefined.
- This is not necesarily the same as the PageCount() report function.
- contextBlock - Specifies the element from which context data is retrieved i.e. Block or BlockOptmz.
- chartUsesSvg - Specifies whether or not chart images should be handled by an svg or not.
- pageCacheIndex - Page index (1 based) which can be used to maintain client side page cache. 0 indicates page is not cacheable.
- Negative values are an indication that navigation is going from the last page backwards. -1 means the last page
- -2 is the before last page. From the client's point of view, pressing next page should always add 1 to the pageCacheIndex
- and previous page should subtract 1.
- resetPageCache - Boolean indicating whether or not page cache should be cleared.
- -->
- <xsl:param name="htmlFragment">false</xsl:param>
- <xsl:param name="Xhtml">false</xsl:param>
- <xsl:param name="promptSupport">false</xsl:param>
- <xsl:param name="drillSupport">no</xsl:param>
- <xsl:param name="sdkDrillSupport">true</xsl:param>
- <xsl:param name="chartSupport">false</xsl:param>
- <xsl:param name="chartSrc">src</xsl:param>
- <xsl:param name="reportTitle"></xsl:param>
- <xsl:param name="email">false</xsl:param>
- <xsl:param name="mht">false</xsl:param>
- <xsl:param name="httpUserAgent"></xsl:param>
- <xsl:param name="gatewayPath"></xsl:param>
- <xsl:param name="basePath"></xsl:param>
- <xsl:param name="contentLocale">en-us</xsl:param>
- <xsl:param name="productLocale">en-us</xsl:param>
- <xsl:param name="contentLanguage">en</xsl:param>
- <xsl:param name="skin">../prompting/reportskin</xsl:param>
- <xsl:param name="interactiveOutput">false</xsl:param>
- <xsl:param name="firstPage">true</xsl:param>
- <xsl:param name="lastPage">true</xsl:param>
- <xsl:param name="testMode">false</xsl:param>
- <xsl:param name="chartEnableTransparencyIE">true</xsl:param>
- <xsl:param name="hyperlinkButtonNewWindow">true</xsl:param>
- <xsl:param name="encoding">utf-8</xsl:param>
- <xsl:param name="pageNumber">1</xsl:param>
- <xsl:param name="pageNumberString">Page 1</xsl:param>
- <xsl:param name="strict">false</xsl:param>
- <xsl:param name="generateContextData">false</xsl:param>
- <xsl:param name="accessible">false</xsl:param>
- <xsl:param name="namespaceID">" "</xsl:param>
- <xsl:param name="appSupport">false</xsl:param>
- <xsl:param name="generatorID"></xsl:param>
- <xsl:param name="PRMT_isBidiEnabled">false</xsl:param>
- <xsl:param name="skipLinkText">Skip to main report content</xsl:param>
- <xsl:param name="headerLabelText">Header Row</xsl:param>
- <xsl:param name="footerLabelText">Footer Row</xsl:param>
- <xsl:param name="mobile">false</xsl:param>
- <xsl:param name="reportSectionLabelText">Report</xsl:param>
- <xsl:param name="emptyCellLabelText">Empty cell</xsl:param>
- <xsl:param name="physicalPageNumber">0</xsl:param>
- <xsl:param name="physicalPageCount">0</xsl:param>
- <xsl:param name="contextBlock">Block</xsl:param>
- <xsl:param name="chartUsesSvg">false</xsl:param>
- <xsl:param name="pageCacheIndex">0</xsl:param>
- <xsl:param name="resetPageCache">true</xsl:param>
- <xsl:param name="quirks">false</xsl:param>
- <xsl:param name="PRMT_allowEmptyStrings">true</xsl:param>
- <xsl:param name="PRMT_allowEmptyStringTextHeader">true</xsl:param>
- <!--
- The followings are global parameters and variables required for the XSLT transformations but NOT set by RSVP.
- -->
- <!-- Root folder for JavaScript and CSS files. -->
- <xsl:param name="webRoot">..</xsl:param>
- <!-- Browser detection variables. -->
- <xsl:variable name="isIE" select="contains($httpUserAgent, 'MSIE') or (contains($httpUserAgent, 'Mozilla/5') and contains($httpUserAgent, 'Trident'))"/>
- <xsl:variable name="isIE5" select="contains($httpUserAgent, 'MSIE 5.0')"/>
- <xsl:variable name="isIE55" select="contains($httpUserAgent, 'MSIE 5.5')"/>
- <xsl:variable name="isIE6" select="contains($httpUserAgent, 'MSIE 6')"/>
- <xsl:variable name="isNS6" select="contains($httpUserAgent, 'Mozilla/5') and (contains($httpUserAgent, 'Gecko') or contains($httpUserAgent, 'Netscape'))"/>
- <xsl:variable name="isNewViewer">false</xsl:variable>
- </xsl:stylesheet>
|