[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: bug in LibXSLT???
Not quite but this works:
<xsl:for-each select="ancestor-or-self::*[@name]"> <xsl:text>/</xsl:text> <xsl:value-of select="@name"/> </xsl:for-each> (there's ancestors without a @name) thanks. simon On Friday, March 7, 2003, at 04:45 AM, Jre@xxxxxxxxxxxx wrote: This is a problem with the line <xsl:for-each select="ancestor-or-self::*/@name"> If you change this to <xsl:for-each select="ancestor-or-self::*"> and then change <xsl:value-of select="."/> to <xsl:value-of select="@name"/> you'll get the ordering you want (and expect!). -- www.simonwoodside.com -- 99% Devil, 1% Angel 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
|