[xsl] Ignoring default attributes during XSL transform

Subject: [xsl] Ignoring default attributes during XSL transform
From: Manny Parasirakis <mannyp@xxxxxxx>
Date: Wed, 17 Apr 2002 15:36:17 -0400
I am trying to figure out how I can ignore outputting attributes whose values are not set (=""). I am fairly new at this but cannot figure it out. I need to do this for all XML tags. Here is my XSL:

<xsl:template match="*|@*">
        <xsl:copy>
                <xsl:apply-templates select="*|@*"/>
        </xsl:copy>
</xsl:template>

I've tried a bunch of things but cannot figure this out.


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread