getinfo.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: ps
  5. (C) Copyright IBM Corp. 2005, 2011
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <xsl:stylesheet version="1.0"
  9. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  10. xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
  11. xmlns:pf="http://developer.cognos.com/schemas/xts/pf"
  12. xmlns:xts="http://developer.cognos.com/schemas/xts/"
  13. exclude-result-prefixes="xtsext xts xsl pf">
  14. <xsl:output method="xml" encoding="UTF-8" version="1.0" indent="no"/>
  15. <pf:variables/>
  16. <xsl:template match="/root">
  17. <xts:sequence>
  18. <xts:append>
  19. <!-- MVC - read mvc configuration settings -->
  20. <mvcSettings>
  21. <xts:function name="getConfiguration">
  22. <xts:param name="MVC_remoteGateway"/>
  23. <xts:param name="MVC_remoteWebContent"/>
  24. <xts:param name="MVC_disableAutoLogOn"/>
  25. </xts:function>
  26. </mvcSettings>
  27. </xts:append>
  28. <xsl:if test="/root/env/param[@name='packed-remoteBrowseEnv']">
  29. <!-- Rename the env var that holds the selected remote folder, if it was selected -->
  30. <xsl:if test="/root/env/param[@name='so.searchPath']">
  31. <xts:append select="/root/env">
  32. <param name="so.searchPath2"><xsl:value-of select="/root/env/param[@name='so.searchPath']"/></param>
  33. </xts:append>
  34. <xts:delete select="/root/env/param[@name='so.searchPath']"/>
  35. </xsl:if>
  36. <!-- Restore the state -->
  37. <xts:append select="/root/env">
  38. <xsl:value-of select="xtsext:web64decode(xtsext:cafaction('sign_unwrap', string(/root/env/param[@name='packed-remoteBrowseEnv'])), true())" disable-output-escaping="yes"/>
  39. </xts:append>
  40. <xts:delete select="/root/env/param[@name='packed-remoteBrowseEnv']"/>
  41. </xsl:if>
  42. </xts:sequence>
  43. </xsl:template>
  44. <pf:serialize-xml/>
  45. </xsl:stylesheet>