Subject: Re: [xsl] Ignoring a duplicate From: "Mark" <mark@xxxxxxxxxxxx> Date: Sat, 8 Sep 2012 04:40:58 -0700 |
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/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Ignoring a duplicate, Martin Honnen | Thread | [xsl] copy-namespace attribute in X, Ihe Onwuka |
Re: [xsl] Ignoring a duplicate, Martin Honnen | Date | [xsl] copy-namespace attribute in X, Ihe Onwuka |
Month |