Thanks guys, i used this last approach and it's good.
On 9/22/05, David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:
welll in that case you want to put the test in the matching template not
in the select
<xsl:apply-templates select="$x1"/>
<xsl:template match="something">
<xsl:choose>
<xsl:when test="count(.|$x2)=count($x2)">A
<xsl:otherwise>B
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--