xsl-list
[Top] [All Lists]

Re: [xsl] Ignoring a duplicate

2012-09-08 06:20:02
Mark wrote:
I cannot get the choice to work: it does not copy either <Item> and if I


       <xsl:when test=" preceding-sibling::Item[1] eq ."/> <!-- Ignore
the second (and further) identical sequential Items -->

The "eq" operator compares primitive values, it looks as if you want
  <xsl:when test="deep-equal(preceding-sibling::Item[1], .)">



--

        Martin Honnen --- MVP Data Platform Development
        http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
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>