| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 | <?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:xtsext="xalan://com.cognos.xts.ext.XTSExt" xmlns:xts="http://developer.cognos.com/schemas/xts/" xmlns:nox="http://developer.cognos.com/schemas/navomx/1/" exclude-result-prefixes="xtsext xts xsl">	<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>	<xsl:template match="/">		<xsl:element name="xts:block">			<xsl:copy-of select="xts:block/@*"/>			<xsl:copy>				<xsl:apply-templates select="xts:block/nox:uiMetadata/nox:searchSets"/>			</xsl:copy>		</xsl:element>	</xsl:template>	<xsl:template match="node()|@*">		<xsl:copy>			<xsl:apply-templates select="node()|@*"/>		</xsl:copy>	</xsl:template>	<xsl:template match="nox:idsString">		<xsl:copy>			<xsl:apply-templates select="@*"/>			<xsl:element name="xts:string">				<xsl:attribute name="id"><xsl:value-of select="."/></xsl:attribute>			</xsl:element>		</xsl:copy>	</xsl:template>	<xsl:template match="nox:item">		<xsl:choose>			<xsl:when test="nox:classes != ''">				<xsl:copy>					<xsl:apply-templates select="node()|@*"/>				</xsl:copy>			</xsl:when>			<xsl:otherwise>				<!--No classes defined, default to the itemType-->				<xsl:copy>					<xsl:apply-templates select="node()|@*"/>					<nox:classes>						<nox:class><xsl:value-of select="nox:itemType"/></nox:class>					</nox:classes>				</xsl:copy>			</xsl:otherwise>		</xsl:choose>	</xsl:template>		<xsl:template match="nox:item[not(nox:idsString)]">		<xsl:variable name="type" select="nox:itemType"/>		<xsl:variable name="itemRef" select="//nox:itemRefs/nox:itemRef[nox:itemType=$type]"/>		<nox:item>			<xsl:if test="$itemRef/@isIndexed='true'">				<xsl:attribute name="isIndexed">true</xsl:attribute>			</xsl:if>			<xsl:if test="@default='true'">				<xsl:attribute name="default">true</xsl:attribute>			</xsl:if>			<xsl:apply-templates select="$itemRef/*"/>		</nox:item>	</xsl:template></xsl:stylesheet>
 |