[Home] [By Thread] [By Date] [Recent Entries]

From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 16 Sep 2002 16:43:29 +0100
> I want to be able to search all of
> the <elemC> nodes for the occurrence of a searchstring 

do you mean the text of elemC contains the string or equals it (I'll
assume the latter below)


<xsl:copy-of select="/elemA/elemB[elemC=$string]/elemC[1]"/>

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread
  • [no subject]
    • Bryan Tulloch - Mon, 16 Sep 2002 11:22:31 -0400 (EDT)
      • David Carlisle - Mon, 16 Sep 2002 11:42:05 -0400 (EDT) <=
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member