[thelist] XML empty elements
Howard Cheng
howcheng at ix.netcom.com
Fri Nov 22 18:56:00 CST 2002
<xsl:template match="booth"/>
<xsl:if test="text()!=''"><xsl:value-of select="text()"/></xsl:if>
</xsl:template>
At 04:33 PM 11/22/2002 -0800, Mark Joslyn wrote:
>When I run the script through my XSL stylesheet, it displays a blank line
>where "Booth" would display because the element is empty. Is there a way to
>detect if the element is empty, and if it is, not to display it?
::::::::::::::::::::::::::::::::::
Howard Cheng
http://www.howcheng.com/ <-- NEW!
howcheng at ix dot netcom dot com
AIM: bennyphoebe
ICQ: 47319315
More information about the thelist
mailing list