1234567891011121314151617181920212223242526272829303132333435363738 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: cogadmin
- (C) Copyright IBM Corp. 2005, 2010
- 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).
- -->
- <!--
- Used to replace all the actionResourceID params in the environment with those returned by the QRBT request
- -->
- <xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:xts="http://developer.cognos.com/schemas/xts/"
- xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd"
- xmlns:ns1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
- exclude-result-prefixes="xsl muws2 ns1">
- <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
- <xsl:template match="/root">
- <xsl:apply-templates select="./muws2:QueryRelationshipsByTypeResponse/*"/>
- </xsl:template>
-
- <xsl:template match="muws2:Relationship">
- <xsl:for-each select="./muws2:Participant[position() > 1]">
- <param name="actionResourceID"><xsl:value-of select="ns1:ResourceId"/></param>
- </xsl:for-each>
- </xsl:template>
- <xsl:template match="*"/>
- </xsl:stylesheet>
|