Re: [xsl] rendering a treeview *hairy problem*

Subject: Re: [xsl] rendering a treeview *hairy problem*
From: "Mattias Konradsson" <preacher@xxxxxxxxxxx>
Date: Thu, 1 Feb 2001 12:06:44 +0100
> It seems you want something like
> <xsl:for-each select="ancestor::*"> ... </xsl:for-each>
> visits all ancestors
> <xsl:for-each select="ancestor::post"> ... </xsl:for-each>
> visits only post ancestors
> Cheers,
> Oliver

I tried this, but it seems it only adds the lines to the immediate parent
and not recursively up each parents parent (uhh, confusing)

  <xsl:for-each select="ancestor::post">
        <xsl:when test="following-sibling::post">
      <img align="middle" src="/community/images/straight.gif"  alt=""
       <img align="middle" src="/community/images/blank.gif"  alt=""

Mattias Konradsson

 XSL-List info and archive:

Current Thread