[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: wildcards in xpath?

Subject: RE: wildcards in xpath?
From: Stuart Brown <sbrown@xxxxxxxxxxxxx>
Date: Wed, 24 Jul 2002 14:17:55 +0100
xpath filter wildcard
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.