1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?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.
- -->
- <!--
- 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"
- xmlns:xts="http://developer.cognos.com/schemas/xts/"
- xmlns:cls="http://developer.cognos.com/schemas/xts/cls/"
- xmlns:out="dummy-uri">
-
- <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
- <xsl:namespace-alias stylesheet-prefix="out" result-prefix="xsl"/>
-
- <xsl:template match="cls:unpackCredentials">
- <out:if test="/root/env/param[@name='m_scheduleCredentials']">
- <xts:delete select="/root/*[local-name()='scheduleCredentials']"/>
- <xts:append select="/root">
- <scheduleCredentials>
- <out:value-of select="xtsext:web64decode( xtsext:cafaction('sign_unwrap', string( key('env-param','m_scheduleCredentials') )),true())" disable-output-escaping="yes"/>
- </scheduleCredentials>
- </xts:append>
- </out:if>
- </xsl:template>
- <xsl:template match="*">
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates/>
- </xsl:copy>
- </xsl:template>
-
- </xsl:stylesheet>
|