restoreEntries.xslt 1020 B

1234567891011121314151617181920212223242526
  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. 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:xts="http://developer.cognos.com/schemas/xts/"
  11. xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt" >
  12. <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
  13. <xsl:template match="/">
  14. <xts:sequence>
  15. <xsl:if test="/root/env/param[@name='whole_entries']">
  16. <xts:delete select="/root/wholeEntries"/>
  17. <xts:append select="/root">
  18. <xsl:value-of select="xtsext:web64decode(xtsext:cafaction( 'sign_unwrap', string( /root/env/param[@name='whole_entries'] )), true() )" disable-output-escaping="yes"/>
  19. </xts:append>
  20. </xsl:if>
  21. </xts:sequence>
  22. </xsl:template>
  23. </xsl:stylesheet>