This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Unique Text
- To: XSL List <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] Unique Text
- From: Mike Moran <Mike dot Moran at ee dot ed dot ac dot uk>
- Date: Mon, 22 Jan 2001 16:22:15 +0000
- Organization: The University of Edinburgh, Department of Electronics and Electrical Engineering
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@ee.ed.ac.uk
Web: http://houseofmoran.com/
AvantGo: http://houseofmoran.com/Lite/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list