[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
Marcial, Try <xsl:template match="dato[starts-with(@id,'imagen')]"> Vasu ----- Original Message ----- From: "Marcial Atienzar Navarro" <maratna@xxxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Monday, October 21, 2002 9:03 AM 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
|
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
|