| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 | <?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).--><!--	NOTE: The logic to determine the order of the queries MUST match the logic found in dt:generateInitialUIHelpers	if checkUIHelpers is true, then only build the CM query if the associated UIHelper is empty.--><xsl:stylesheet version="1.0" 	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 	xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"	exclude-result-prefixes="xsl">			<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>	<xsl:template match="/root" priority="1">		<steps>			<xsl:apply-templates/>		</steps>	</xsl:template>		<xsl:template match="*[local-name()='queryResponse']" priority="1">		<xsl:copy>			<xsl:copy-of select="@*"/>			<xsl:for-each select="*[local-name()='jobStepDefinition']">				<xsl:copy>					<xsl:copy-of select="@*"/>					<xsl:apply-templates/>					<xsl:element name="displaySequence" namespace="http://developer.cognos.com/schemas/xts-cm/1/">						<xsl:value-of select="position()"/>					</xsl:element>				</xsl:copy>			</xsl:for-each>		</xsl:copy>	</xsl:template>		<xsl:template match="*[local-name()='displaySequence']" priority="1"/>	<!-- match all unmatched nodes -->	<xsl:template match="node()" priority="0">		<xsl:element name="{name()}" namespace="{namespace-uri()}">			<xsl:copy-of select="@*"/>			<xsl:apply-templates/>		</xsl:element>	</xsl:template>	<!-- copy just the text -->	<xsl:template match="text()" priority="0">		<xsl:copy-of select="."/>	</xsl:template></xsl:stylesheet>
 |