RSUpgradeCleanupXMLAttributes.xsl 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: rspecupgrade
  5. (C) Copyright IBM Corp. 2005, 2010
  6. US Government Users Restricted Rights - Use, duplication or disclosure
  7. restricted by GSA ADP Schedule Contract with IBM Corp.
  8. -->
  9. <!-- COPYRIGHT_DATA { 'YEAR':[2005, 2009], 'RELEASE':['colorado_wave1'], 'VISIBLE':'YES', 'COMPONENT':'rspecupgrade' }-->
  10. <!--All lines above the COPYRIGHT_DATA line will be replaced when copyright notices are generated. -->
  11. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
  12. xmlns="http://developer.cognos.com/schemas/report/1/"
  13. xmlns:baltic="http://developer.cognos.com/schemas/report/1/"
  14. exclude-result-prefixes="baltic" >
  15. <xsl:template match="baltic:XMLAttributes">
  16. <xsl:apply-templates select="child::node()"/>
  17. </xsl:template>
  18. <!-- - - - - - - - - - - - - - - - - - - - - - - - -->
  19. <!-- Copy all nodes and attributes by default. -->
  20. <!-- - - - - - - - - - - - - - - - - - - - - - - - -->
  21. <xsl:template match="@*|node()">
  22. <xsl:copy>
  23. <xsl:apply-templates select="@*|node()"/>
  24. </xsl:copy>
  25. </xsl:template>
  26. </xsl:stylesheet>