Subject: Re: child nodes containing a string
From: Goetz Bock <bock@xxxxxxxxxxx>
Date: Mon, 1 Oct 2001 18:06:29 +0200
|
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.
Attachment:
pgp00000.pgp
Description: PGP signature
| Current Thread |
Bikash Paul - Mon, 1 Oct 2001 02:54:41 -0400 (EDT)
Bikash Paul - Mon, 1 Oct 2001 03:26:44 -0400 (EDT)
- cutlass - Mon, 1 Oct 2001 04:41:48 -0400 (EDT)
David Carlisle - Mon, 1 Oct 2001 04:48:25 -0400 (EDT)
|
|