[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: child nodes containing a string

Subject: Re: child nodes containing a string
From: Goetz Bock <bock@xxxxxxxxxxx>
Date: Mon, 1 Oct 2001 18:06:29 +0200
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.

Attachment: pgp00000.pgp
Description: PGP signature

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.