12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?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:delete select="/root/env/param[@name='so.searchPath2'][position() > 1]"/>
- <xts:append select="/root">
- <xsl:variable name="node-set">
- <xsl:copy-of select="/root/env/param[@name != 'b_action' and @name != 'm' and @name != 'ui.cafcontextid']"/>
- </xsl:variable>
- <xsl:variable name="spec">
- <xsl:call-template name="serialize-xml">
- <xsl:with-param name="node-set" select="$node-set/*"/>
- </xsl:call-template>
- </xsl:variable>
-
- <packed-remoteBrowseEnv>
- <xsl:value-of select="xtsext:cafaction( concat('sign_wrap_setpassportid_', $passport), xtsext:web64encode(string($spec), true()))"/>
- </packed-remoteBrowseEnv>
- </xts:append>
- </xts:sequence>
- </xsl:template>
-
- <pf:serialize-xml/>
- </xsl:stylesheet>
|