Re: [xsl] Checking for nodes in other nodes

Subject: Re: [xsl] Checking for nodes in other nodes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 7 Jun 2005 17:12:06 +0100
  What I need to be able to determine is if an enumerated type is used in
  more than one equipment. 


<xsl:template match="EnumeratedType">
<xsl:value-of select="Name"/>
 <xsl:if  test="../Equipment[Message/Field[EnumeratedType=current()/Name]][2]">
  There are at least 2 of these...
 </xsl:if>
</xsl:template>

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
________________________________________________________________________

Current Thread