| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 | <?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:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bus="http://developer.cognos.com/schemas/bibus/3/" exclude-result-prefixes="xsd xsi bus"><xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>	<xsl:variable name="objectType">	<xsl:value-of select="/bus:queryResponse/*[local-name()='returns']/*[local-name()='item'][1]/*[local-name()='queryResult']/*[local-name()='item']/*[local-name()='parent']/*[local-name()='value']/*[local-name()='item']/*[local-name()='objectClass']/*[local-name()='value']"/></xsl:variable> <xsl:template match="*[contains(@xsi:type,':historyDetailRequestArguments')" priority="1">	<xsl:choose>		<xsl:when test="$objectType = 'importDeployment' or $objectType = 'exportDeployment'">			<xsl:element name="deploymentReport" namespace="{namespace-uri()}">				<xsl:attribute name="type"><xsl:value-of select="@xsi:type"/></xsl:attribute>				<xsl:copy-of select="./*[local-name()='options']/*"/>			</xsl:element>		</xsl:when>		<xsl:otherwise>			<xsl:copy-of select="."/>		</xsl:otherwise>	</xsl:choose></xsl:template>	<xsl:template match="*">		<xsl:copy>			<xsl:copy-of select="@*"/>			<xsl:apply-templates/>		</xsl:copy>	</xsl:template></xsl:stylesheet>
 |