what about: <xsl:if test="../@*[current()]"> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list