create_web64_param.xslt 1.0 KB

123456789101112131415161718192021222324252627282930
  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"
  13. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  14. xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
  15. exclude-result-prefixes="xsl xtsext">
  16. <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
  17. <xsl:template match="*">
  18. <xsl:if test="./*[local-name()='markup'] != ''">
  19. <xsl:copy>
  20. <xsl:copy-of select="@*"/>
  21. <xsl:value-of select="xtsext:cafaction( concat('sign_wrap_setpassportid_', *[local-name()='passport']), xtsext:web64encode(string(/*/*[local-name()='markup']), true()))"/>
  22. </xsl:copy>
  23. </xsl:if>
  24. </xsl:template>
  25. </xsl:stylesheet>