[Home] [By Thread] [By Date] [Recent Entries]
On 6/12/06, Phillip B Oldham <phillip.oldham@xxxxxxxxxx> wrote:
Hi all That's fine. Anyone know how I can do this? I'm using XSL/XPath 1.0. Oh. That makes it more long winded. I would do this in two stages - the first is to create a nodeset of words by processing each <keywords> element using a recursive named template to get something like: <word>Chair</word> <word>Sofa</word> Once you have stage 1 complete, use the node-set extension function of your processor to turn the result-tree-fragment into a nodeset, then use grouping to do a distinct on the values. Splitting a string: http://www.dpawson.co.uk/xsl/sect2/N7240.html#d9590e343 Grouping: http://sources.redhat.com/ml/xsl-list/2000-07/msg00458.html cheers andrew
|

Cart



