[xsl] output node-set

Subject: [xsl] output node-set
From: 04083259@xxxxxxxxxxxxx
Date: Fri, 1 Apr 2005 20:30:31 +0100 (BST)
hi every one

the problem has been  solved

thanks



First of, you XML is not valid. Second if all you need is to ignore
nodes with empty strings it can be done simpler.

    <xsl:template match="/top">
        <xsl:apply-templates/>
    </xsl:template>
    <xsl:template match="*">
        <xsl:if test="normalize-space(.) != ''">
            <xsl:copy-of select="."/>
        </xsl:if>
    </xsl:template>

Current Thread