RE: [xsl] wildcards in xpath?

Subject: RE: [xsl] wildcards in xpath?
From: Stuart Brown <sbrown@xxxxxxxxxxxxx>
Date: Wed, 24 Jul 2002 14:17:55 +0100
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@xxxxxx [mailto:inchi2000@xxxxxx]
> Sent: 24 July 2002 14:12
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> 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


Current Thread