display_markup_fragment.xslt 984 B

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: AGS
  5. (C) Copyright IBM Corp. 2005, 2008
  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" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xts="http://developer.cognos.com/schemas/xts/" exclude-result-prefixes="xsl xts">
  9. <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
  10. <xsl:template match="/root">
  11. <xsl:apply-templates select="markup/*" mode="copy"/>
  12. <xsl:copy-of select="formFields/*"/>
  13. </xsl:template>
  14. <xsl:template match="@*|node()[local-name() != 'form']" mode="copy">
  15. <xsl:copy>
  16. <xsl:apply-templates select="@*" mode="copy"/>
  17. <xsl:apply-templates mode="copy"/>
  18. </xsl:copy>
  19. </xsl:template>
  20. <xsl:template match="text()" priority="0"/>
  21. </xsl:stylesheet>