This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: wildcards in xpath?



<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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]