xsl-list
[Top] [All Lists]

Re: [xsl] Keys with duplicates should be simple

2014-01-30 19:54:17
On 1/30/14, Ihe Onwuka <ihe(_dot_)onwuka(_at_)gmail(_dot_)com> wrote:
On Fri, Jan 31, 2014 at 12:46 AM, Imsieke, Gerrit, le-tex
<gerrit(_dot_)imsieke(_at_)le-tex(_dot_)de> wrote:
When I run this (with my own implementation of identity.xsl, with
Saxon-EE
9.5.1.3 invoked from the oXygen 15.2 debugger), I get:

<duplicate>

  <a href="/person/allison-benedikt/"/>
  <a href="/person/allison-benedikt/"/>
</duplicate>

So there are no other records than the duplicates.

In order to just have a single line per duplicate group, I don't see a
straightforward solution that uses the key.


I tried a few things with the  benefit of the full data set (including
Dimitre's effort). I'd say it looks like Gerrit is right about that.

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



Oh I see. Search for "Muenchian method for grouping jeni tennison"
-- 
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
To avoid situations in which you might make mistakes may be the
biggest mistake of all
------------------------------------
Quality means doing it right when no one is looking.
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play
-------------------------------------
To achieve the impossible dream, try going to sleep.
-------------------------------------
Facts do not cease to exist because they are ignored.
-------------------------------------
Typing monkeys will write all Shakespeare's works in 200yrs.Will they write
all patents, too? :)
-------------------------------------
I finally figured out the only reason to be alive is to enjoy it.

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