[xsl] Unique Text

Subject: [xsl] Unique Text
From: Mike Moran <Mike.Moran@xxxxxxxxxxx>
Date: Mon, 22 Jan 2001 16:22:15 +0000
Hi. I am currently working on producing multiple stylesheets for a set
of web pages. One of these styles will be intended for viewing by my own
web crawler. I thought I'd make it easier for the crawler by producing a
style which picks out links in the (XHTML) content. I'd also like to
produce a page which contains a unique set of words in the page. For
example:

<html>
  <head>
    <title>Foo</title>
  </head>
  <body>
    <p>
    Here is a link to <a href="http://foo.com/blah.html";>Blah</a>.
    This is another one<a href="http://foo.com/blah.html";>Maybe</a>.
    <a href="foo.html">Another</a> for good measure.
    </p>
  </body>
</html>

This would become:

Title: 
Foo

Links:
http://foo.com/blah.html
foo.html

Content:
Here
is
a
link
to 
Blah
This
another
one
Maybe
Another
for
good 
measure


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?

-- 
Mike.Moran@xxxxxxxxxxx 
                   Web: http://houseofmoran.com/
               AvantGo: http://houseofmoran.com/Lite/

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


Current Thread