Test if child exists

Subject: Test if child exists
From: Matthew Bentley <Matthew.bentley@xxxxxxxxxxxxxx>
Date: Thu, 31 Aug 2000 11:51:15 +1200
I want to test if there is only one child element and it's name is bva.
Should this work? :

<xsl:if test="(last() = 1) and bva">

Thanks,
M@
******************************************************************
Warning: This email, including any attachments, 
is for the use of the intended recipient(s) only.
Republication and redissemination, 
including posting to news groups or web pages, 
is strictly prohibited without the express prior consent of Brooker's Limited.
******************************************************************


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread