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

Re: bug in LibXSLT???

Subject: Re: bug in LibXSLT???
From: S Woodside <sbwoodside@xxxxxxxxx>
Date: Fri, 7 Mar 2003 14:53:25 -0500
libxslt bug ancestor
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!).

Daniel: I've logged this in bugzilla: 107804 (but you probably already
know that by now).

John Escott.

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


--
www.simonwoodside.com -- 99% Devil, 1% Angel


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.