1234567891011121314151617181920212223242526272829303132333435 |
- <?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:cm="http://developer.cognos.com/schemas/xts-cm/1/"
- xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
- xmlns:xts="http://developer.cognos.com/schemas/xts/">
- <xsl:output method="xml" encoding="UTF-8" version="1.0" indent="no"/>
- <xsl:template match="/root">
- <xts:sequence>
- <xts:append>
- <SelectedLanguages>
- <xsl:for-each select="/root/env/param[starts-with(@name, 'm_mp_title_')]">
- <lang><xsl:value-of select="substring-after(@name, 'm_mp_title_')"/></lang>
- </xsl:for-each>
- <xsl:if test="/root/env/param[starts-with(@name, 'm_mp_mlt_title_')]">
- <lang><xsl:value-of select="substring-after(/root/env/param[starts-with(@name,'m_mp_mlt_title_')]/@name, 'm_mp_mlt_title_')"/></lang>
- </xsl:if>
- </SelectedLanguages>
- </xts:append>
- </xts:sequence>
- </xsl:template>
- </xsl:stylesheet>
|