xsl-list
[Top] [All Lists]

Re: bug in LibXSLT???

2003-03-07 08:03:59
On Fri, Mar 07, 2003 at 09:45:42AM +0000, Jre(_at_)scanlaser(_dot_)nl 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).

   Right, it's now fixed in libxml2 CVS :-)

  http://bugzilla.gnome.org/show_bug.cgi?id=107804

   thanks a lot for posting the bug and the smaller test,

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard(_at_)redhat(_dot_)com  | libxml Gnome XML XSLT toolkit  
http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

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



<Prev in Thread] Current Thread [Next in Thread>