Re: [xsl] Unique Text

Subject: Re: [xsl] Unique Text
From: Sebastian Rahtz <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 22 Jan 2001 16:41:25 +0000
Mike Moran writes:
 > Basically, all links are unique and so are all words. I know I can do
 > unique links by grouping, but can I do words too?

its a bore in XSL, but you can do it. take each text node, and write a
recursive template to walk through word by word. unless you want to go
mildly mad, I'd suggest storing the results in a variable, converting
that to a nodeset (ie use the extension in most processors), and then
applying the sorting/grouping logic to the result.

sebastian


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread