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.
- -->
- <xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:dlgctrl="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/controller-templates/"
- xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
- xmlns:req-params="http://developer.cognos.com/schemas/request/params"
- xmlns:xts="http://developer.cognos.com/schemas/xts/"
- xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/"
- exclude-result-prefixes="xsl dlgctrl xtsext req-params xts cm">
- <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
- <xsl:template match="/">
- <xts:sequence>
- <!-- simulates the response from the addentries morphlet for a single user. This information is
- used for the "Send to my mobile device" option -->
- <xts:append>
- <selectedEntries>
- <account xmlns="http://developer.cognos.com/schemas/xts-cm/1/">
- <type>to</type>
- <searchPath><xsl:value-of select="/root/cm:queryResponse/cm:queryReply[3]/*/cm:searchPath"/></searchPath>
- <defaultName><xsl:value-of select="/root/cm:queryResponse/cm:queryReply[3]/*/cm:defaultName"/></defaultName>
- <userName><xsl:value-of select="/root/cm:queryResponse/cm:queryReply[3]/*/cm:userName"/></userName>
- </account>
- </selectedEntries>
- </xts:append>
- </xts:sequence>
- </xsl:template>
- </xsl:stylesheet>
|