xsl-list
[Top] [All Lists]

Re: [xsl] Navigation / node-set

2008-05-14 10:14:08
nenad(_at_)njconsulting(_dot_)de wrote:
Hi, my problem is that with this code
instead of displaying the first matching preceding-sibling
I display all of them that precede.
How I can diplay just the first matching preceding-sibling?


    <xsl:for-each select="preceding-sibling::*">

      <xsl:for-each select="preceding-sibling::*[1]">


--

        Martin Honnen
        http://JavaScript.FAQTs.com/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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