Permalink
Browse files

xslt for removing empty attributes

  • Loading branch information...
arademaker committed Jun 17, 2011
1 parent d3e7869 commit 1100420bd1243689821529b24540f78d1ee41d0c
Showing with 13 additions and 0 deletions.
  1. +13 −0 spaces.xsl
View
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="@*[normalize-space()='']"/>
</xsl:stylesheet>

0 comments on commit 1100420

Please sign in to comment.