Subject: [xsl] checking for empty elements? From: "Gabi Bucataru" <gabi@xxxxxxxxxxxxxxxxx> Date: Fri, 8 Nov 2002 17:48:56 -0600 |
Hi all, How do I check if an element is empty (even if it has other child elements)? I am using xmlns:xsl="http://www.w3.org/TR/WD-xsl"... XML: <GT1> <Name></Name> <DOB></DOB> </GT> XSL: <xsl:if test="GT is empty"> Element GT1 is empty! </xsl:if> Thanks a lot, Gabi. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] 'Variable' question from , Surla, Stacy | Thread | RE: [xsl] checking for empty elemen, James Carlyle |
Re: [xsl] node-set = node-set invol, David N Bertoni/Camb | Date | Re: [xsl] MSXML / NBSP problem and , Mike Brown |
Month |