cancel.xslt 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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. <!--
  9. Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
  10. Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
  11. -->
  12. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  13. xmlns:pf="http://developer.cognos.com/schemas/xts/pf"
  14. xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
  15. xmlns:xts="http://developer.cognos.com/schemas/xts/"
  16. exclude-result-prefixes="xsl pf xtsext xts">
  17. <xsl:output method="html" encoding="utf-8" indent="no"/>
  18. <pf:variables/>
  19. <xsl:template match="/root">
  20. <xsl:for-each select="/root/env/param">
  21. <input type="hidden" name="{@name}" value="{.}"/>
  22. </xsl:for-each>
  23. <xsl:if test="/root/env/param[starts-with(@name,'stack_')] != '' and not(/root/env/param[@name='ps_nav_op'])">
  24. <input type="hidden" name="ps_nav_op" value=""/>
  25. </xsl:if>
  26. </xsl:template>
  27. </xsl:stylesheet>