|
Subject: Copy vs copy-of (was: How to delete empty element tag from output XML?) From: "Eliot, Topher" <Christopher_Eliot@xxxxxxxxxxxxx> Date: Fri, 3 Nov 2000 13:19:11 -0400 (EST) |
How would your sample below be different from
<xsl:template match="*" mode="copy-unless-empty">
<xsl:if test="node()">
<xsl:copy-of select="."/>
</xsl:if>
</xsl:template>
> <xsl:template match="*" mode="copy-unless-empty">
> <xsl:if test="node()">
> <xsl:copy>
> <xsl:copy-of select="@*"/>
> <xsl:value-of select="."/>
> </xsl:copy>
> </xsl:if>
> </xsl:template>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| XSL-List status, XSL-List Owner | Thread | Re: Copy vs copy-of (was: How to de, Jeni Tennison |
| XSL-List status, XSL-List Owner | Date | RE: Don't understand it, ..., sara . mitchell |
| Month |