12345678910111213141516171819202122232425262728293031323334 |
- <?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/">
- <xsl:output method="xml" encoding="UTF-8" version="1.0" indent="no"/>
- <xsl:template match="/root">
- <xts:sequence>
- <!-- Clear all pagelet params that might be lingering in the request -->
- <xts:delete select="/root/env/param[starts-with(@name, 'm_mp_')]"/>
- <xts:append select="/root/env">
- <xts:transform src="/portal/mypages/transform/unpack_pagelet_layout.xslt" processor="XSLT">
- <myroot>
- <xsl:copy-of select="/root/layout"/>
- <userLocale><xsl:value-of select="/root/user/param[@name='contentLocale']"/></userLocale>
- </myroot>
- </xts:transform>
- </xts:append>
- </xts:sequence>
- </xsl:template>
- </xsl:stylesheet>
|