![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: xslt / xpath question [Thread Next] Re: xslt / xpath questionTo: NULL Date: 8/4/2004 8:49:00 PM On Wed, 04 Aug 2004 20:39:04 +0200, Rémi Peyronnet wrote: >> <xsl:value-of >> select="ancestor::*[@categorie]/attribute::categorie"/> -> >> <xsl:value-of select="@categorie"/><xsl:text> > > You should try this instead : > > <xsl:for-each select="ancestor::*[@categorie]"> > <xsl:value-of select="@categorie" /><xsl:text>-></xsl:text> > </xsl:for-each> > > Hth Indeed, you helped a lot. Seems like I have been searching in the wrong direction. Quite interesting that xslt needs a looping construct for joining a list of results. I would have thought something more data-centric more in the spirit of a data transformation language. Thank you a lot, Brian -- Brian Schröder http://www.brian-schroeder.de/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||
|
