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

Subject: Re: trouble with contains()
From: Charles Yates <cyates@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 04 Sep 2001 12:16:34 -0700
Thanks, works like a charm.

Charles

Sullivan, Dan wrote:

<xsl:for-each select="element[subelement[contains(.,'foo')]]">

is what you need. It selects all elements that have a subelement that
contains 'foo'.





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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member