genStandardAddEntriesList.xslt 1.2 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. <!--
  13. Transform used to change a CM response into the same structure returned by add recipients.
  14. Usefull since it allow us to use the same transforms to update the to, cc and bcc fields and also
  15. to update the email recipients blob.
  16. -->
  17. <xsl:stylesheet version="1.0"
  18. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  19. xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/"
  20. exclude-result-prefixes="xsl cm">
  21. <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
  22. <!-- The stardard addentries list is simply a list of object, so copy everything under the queryReply -->
  23. <xsl:template match="/root/cm:queryResponse" priority="2">
  24. <xsl:copy-of select="cm:queryReply/*"/>
  25. </xsl:template>
  26. <xsl:template match="text()" priority="0"/>
  27. </xsl:stylesheet>