decodeScheduleParameters.xslt 1.4 KB

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: AGS
  5. (C) Copyright IBM Corp. 2005, 2008
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <!--
  9. ================================================================================
  10. decodeScheduleParameters
  11. a block which will decode and append the Schedule parameters.
  12. ===============================================================================================
  13. -->
  14. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xts="http://developer.cognos.com/schemas/xts/" xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt" xmlns:form="http://developer.cognos.com/schemas/xts/ags/iFrmCmd/1/" exclude-result-prefixes="form xtsext">
  15. <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
  16. <xsl:key name="params" match="/root/command/*/form:env/form:param" use="@name"/>
  17. <xsl:template match="/">
  18. <xts:sequence>
  19. <xts:append>
  20. <xts:transform name="XMLDecode">
  21. <xsl:value-of select="xtsext:web64decode(xtsext:cafaction('sign_unwrap_settemplatename_decodeagentdefinition_settemplateid_save001',string(key('params','AgentTask-schedule'))), true())" />
  22. </xts:transform>
  23. </xts:append>
  24. </xts:sequence>
  25. </xsl:template>
  26. </xsl:stylesheet>