[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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@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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|