checking for empty elements?2002-11-08 16:48:56Hi 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
|
|