This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: wildcards in xpath?
- From: Stuart Brown <sbrown at extenza dot co dot uk>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 24 Jul 2002 14:17:55 +0100
- Subject: RE: [xsl] wildcards in xpath?
- Reply-to: xsl-list at lists dot mulberrytech dot com
You'll have to use the general wildcard (*), and then filter this using a
starts-with expression on the name() in the predicate, so:
<xsl:for-each select="*[starts-with(name(),'dino')]">
Cheers,
Stuart
> -----Original Message-----
> From: inchi2000@gmx.de [mailto:inchi2000@gmx.de]
> Sent: 24 July 2002 14:12
> To: XSL-List@lists.mulberrytech.com
> Subject: [xsl] wildcards in xpath?
>
>
> 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
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list