This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: wildcards in xpath?
- From: ronald heller <ronald at salience dot nl>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 24 Jul 2002 15:19:43 +0200
- Subject: Re: [xsl] wildcards in xpath?
- Reply-to: xsl-list at lists dot mulberrytech dot com
<xsl:for-each select="*[starts-with(name(),'dino')]">
* is element wildcard
name() is the element name
starts-with() is a string functio you can use wether or not a certain
string start with another string. The argument are separated by a comma.
Cheers
RH
At 03:12 PM 7/24/02 +0200, you wrote:
Hello,
I have a short question to xpath. Is it possible to select all nodes which
begin with "dino"? I want to do something like this: <xsl:for-each
select="dino*">
But this didn't work.
Markus
P.S. Special Thanks to Jeni :)
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Salience B.V.
Ronald Heller
Technisch Consultant
Coltbaan 27b
3439 NG Nieuwegein
Telefoon 030 60 56 675
Telefax 030 60 56 324
Website www.salience.nl
ronald@salience.nl
Mobiel 06 20 41 25 77
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list