1234567891011121314151617181920212223242526272829303132333435363738 |
- <?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:xts="http://developer.cognos.com/schemas/xts/"
- exclude-result-prefixes="xsl xts">
-
- <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
- <xsl:template match="/root" priority="2">
- <xsl:for-each select="*">
- <xsl:element name="{local-name()}" namespace="{namespace-uri()}">
- <xsl:apply-templates/>
- </xsl:element>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template match="*[local-name()='defaultName' and ../*[local-name()='objectClass']='namespace']" priority="1">
- <xsl:element name="{local-name()}" namespace="{namespace-uri()}"><xts:string id="IDS_ADDENTRIES_PACKAGES_LOCATIONS_NAMESPACE_PREFIX"><xts:param name="namespaceName"><xsl:value-of select="."/></xts:param></xts:string></xsl:element>
- </xsl:template>
-
- <xsl:template match="*" priority="0">
- <xsl:copy-of select="."/>
- </xsl:template>
- </xsl:stylesheet>
|