[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] trouble with contains()


Subject: Re: [xsl] 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