This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: child nodes containing a string
On Mon, Oct 01 '01 at 11:13, Carmelo Montanez wrote:
> what would be the quickest way
> to find out ALL of the children node of the corrent node containing a
> specific string? Consider the following pseudo xml code:
> [ ... ]
> I want to find all the child nodes containing the string "string1"
This might not be the fastest, but
<xsl:foo select="*[contains(.,'string1')]" />
might work (replace foo with the xsl function you want)
--
Goetz Bock IT Consultant
Dipl.-Inf. Univ.
PGP signature