upgradeReport.xsl 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: fmmd
  5. (C) Copyright IBM Corp. 2003, 2013
  6. US Government Users Restricted Rights - Use, duplication or disclosure
  7. restricted by GSA ADP Schedule Contract with IBM Corp.
  8. -->
  9. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  10. <xsl:output method="html"/>
  11. <xsl:template match="text()"/>
  12. <xsl:template match="/">
  13. <HTML>
  14. <HEAD>
  15. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  16. <style type="text/css">
  17. .all
  18. {
  19. font: normal normal normal 10pt/12pt Tahoma, arial, geneva, helvetica, sans-serif;
  20. color: #000000;
  21. text-align: left;
  22. }
  23. </style>
  24. </HEAD>
  25. <BODY>
  26. <table width="100%" style="border: 1px groove; padding" border="0">
  27. <xsl:apply-templates/>
  28. </table>
  29. </BODY>
  30. </HTML>
  31. </xsl:template>
  32. <xsl:template match="comment()">
  33. <xsl:variable name="string">
  34. <xsl:value-of select="."/>
  35. </xsl:variable>
  36. <xsl:variable name="testString">
  37. <xsl:value-of select="translate($string,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')"/>
  38. </xsl:variable>
  39. <xsl:if test="not(contains($testString,'reserved map')) and not(contains($testString, 'xml spy')) and not(contains($testString,'xmlspy'))">
  40. <tr>
  41. <th align="left" class="all">
  42. <xsl:value-of select="$string"/>
  43. <hr/>
  44. </th>
  45. </tr>
  46. </xsl:if>
  47. </xsl:template>
  48. </xsl:stylesheet>