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?


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


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