initializeIncludedContent.xslt 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. 2010, 2012
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <!--
  9. ===============================================================================================
  10. Initialize the content to include in the content task
  11. ===============================================================================================
  12. -->
  13. <xsl:stylesheet version="1.0"
  14. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  15. xmlns:xts="http://developer.cognos.com/schemas/xts/"
  16. xmlns:send="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/brl/1/"
  17. xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/">
  18. <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
  19. <xsl:template match="/">
  20. <xts:sequence>
  21. <xts:append>
  22. <packageAndFolderSection>
  23. <uiInfo>
  24. <hiddenInput>cto_includedObjects</hiddenInput>
  25. <xsl:if test="/root/env/param[@name='contentTaskType' and string(.)='contentArchival']">
  26. <sectionTitle><xts:string id="IDS_CONTENT_ARCHIVALE_TASK_CONTENT_SECTION_TITLE"/></sectionTitle>
  27. </xsl:if>
  28. </uiInfo>
  29. </packageAndFolderSection>
  30. </xts:append>
  31. </xts:sequence>
  32. </xsl:template>
  33. </xsl:stylesheet>