xsl-list
[Top] [All Lists]

Re: Checking for nodes in other nodes

2005-06-07 09:12:06

  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
________________________________________________________________________

--~------------------------------------------------------------------
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>
--~--