Subject: [xsl] How can I test if element is empty? From: "Denis Kranjcec" <denis.kranjcec@xxxxxxxxxx> Date: Tue, 20 Mar 2001 12:09:58 +0100 |
Hi So,how can I test if element is empty with xsl? example element <elem/> or <elem></elem> I have tried this <xsl:choose> <xsl:when test="string-length(elem)"> <xsl:value-of select="elem"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="NOelem"/> </xsl:otherwise> </xsl:choose> and this <xsl:when test="elem == ''"> but that don't work Thanks in advance Denis Kranjcec XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl - variable - array pr, msujit | Thread | RE: [xsl] How can I test if element, Xu, Xiaocun |
[xsl] xsl - variable - array proble, Partho Paul | Date | Re: [xsl] xsl - variable - array pr, msujit |
Month |