123456789101112131415161718192021222324252627282930313233 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: cpscrn
- (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).
- -->
- <!-- $Header: //cps4/blacksea/main/templates/cps4/producer/wsrp-impl/transforms/session-read.xslt#1 $ -->
- <!-- $DateTime: 2006/03/08 17:11:19 $ -->
- <!-- $Change: 13617 $ -->
- <xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
- xmlns:cpsext="http://developer.cognos.com/schemas/cps/wsrp/extensions/1/"
- xmlns:bus="http://developer.cognos.com/schemas/bibus/3/">
- <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
- <xsl:template match="/">
- <xsl:variable name="state-update" select="/root/update/cpsext:externalRef"/>
- <xsl:variable name="state-params" select="/root/state/param"/>
- <xsl:for-each select="$state-update">
- <param name="{@name}"><xsl:value-of select="."/></param>
- </xsl:for-each>
- <xsl:copy-of select="$state-params[not(@name = $state-update/@name)]"/>
- </xsl:template>
- </xsl:stylesheet>
|