1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: ps
- (C) Copyright IBM Corp. 2005, 2011
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
- xmlns:pf="http://developer.cognos.com/schemas/xts/pf"
- xmlns:xts="http://developer.cognos.com/schemas/xts/"
- exclude-result-prefixes="xtsext xts xsl pf">
- <xsl:output method="xml" encoding="UTF-8" version="1.0" indent="no"/>
-
- <pf:variables/>
-
- <xsl:template match="/root">
- <xts:sequence>
- <xts:append>
- <!-- MVC - read mvc configuration settings -->
- <mvcSettings>
- <xts:function name="getConfiguration">
- <xts:param name="MVC_remoteGateway"/>
- <xts:param name="MVC_remoteWebContent"/>
- <xts:param name="MVC_disableAutoLogOn"/>
- </xts:function>
- </mvcSettings>
- </xts:append>
-
- <xsl:if test="/root/env/param[@name='packed-remoteBrowseEnv']">
- <!-- Rename the env var that holds the selected remote folder, if it was selected -->
- <xsl:if test="/root/env/param[@name='so.searchPath']">
- <xts:append select="/root/env">
- <param name="so.searchPath2"><xsl:value-of select="/root/env/param[@name='so.searchPath']"/></param>
- </xts:append>
- <xts:delete select="/root/env/param[@name='so.searchPath']"/>
- </xsl:if>
-
- <!-- Restore the state -->
- <xts:append select="/root/env">
- <xsl:value-of select="xtsext:web64decode(xtsext:cafaction('sign_unwrap', string(/root/env/param[@name='packed-remoteBrowseEnv'])), true())" disable-output-escaping="yes"/>
- </xts:append>
- <xts:delete select="/root/env/param[@name='packed-remoteBrowseEnv']"/>
- </xsl:if>
- </xts:sequence>
- </xsl:template>
-
- <pf:serialize-xml/>
- </xsl:stylesheet>
|