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

RE: How can i detect differents nodes with a similar n

Subject: RE: How can i detect differents nodes with a similar name?
From: Marcial Atienzar Navarro <maratna@xxxxxxxxxxxxx>
Date: Mon, 21 Oct 2002 11:12:02 +0200 (CEST)
atienzar
A lot of thanks. I don't know that I could use XPath inside this expression.


Missatge citat per: Nirmala R <nirmala.r@xxxxxxxxxx>:

> Hello,
> 
> You can substring operation instead of having wildcard in the
> expression.
> like "dato[substring(@id,1,5)= 'imagen']" in the Xpath query.
> 
> Is that what you want?
> 
> Regards,
> Nirmala
> 
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Marcial
> Atienzar Navarro
> Sent: Monday, October 21, 2002 1:34 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  How can i detect differents nodes with a similar name?
> 
> 
> Hello,
> 
>  I need to do this:
>  I have, for example, this 2 tags:
> 
>   <dato id="imagen_1">aaaa</dato>
>   <dato id="imagen_2">bbbb</dato>
> 
>  It's possible to do something like this:
>  <xsl:template match="dato[@id= 'imagen*']">OK</xsl:template>
> 
>  And make it works, is to say, the xsl must detect the 2 nodes: imagen_1
> and
> imagen_2.
> 
>  A lot of thanks,
> 
>    Marcial Atienzar
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
>  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.