[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
<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.
At 03:12 PM 7/24/02 +0200, you wrote:
Salience B.V.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Re: [xsl] wildcards in xpath?
Subject: Re: [xsl] wildcards in xpath? From: ronald heller <ronald@xxxxxxxxxxx> Date: Wed, 24 Jul 2002 15:19:43 +0200 |
<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@xxxxxxxxxxx Mobiel 06 20 41 25 77
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] wildcards in xpath?, inchi2000 | Thread | Re: [xsl] wildcards in xpath?, Joerg Heinicke |
Re: [xsl] Acheiving ..2nd level gro, Jeni Tennison | Date | Re: [xsl] wildcards in xpath?, Joerg Heinicke |
Month |