This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Checking for unique mail adresses
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] Checking for unique mail adresses
- From: "Heiner de Wendt" <H dot dewendt at systec dot de>
- Date: Thu, 18 Jan 2001 12:55:51 +0100
- Organization: SYSTEC Elektronik und Software GmbH
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hello,
I've got a problem with a quite chaotic XML file (generated from
several thousands of mails :-P )
I managed to create a new XML file from it containing, among others,
<mail> elements containing all the given mail adresses in those
mails. This worked fine.
But now I need to know which ones are unique, i.e. sort out the
double ones. Not just that, problem is, there might be other text in
a <mail> element, like the user's name. I think it'd be possible to
search for "words" (i.e. text parts before and after which comes a
space) containing the @ symbol to filter out only the mails itself,
but then I also still need to know only the unique ones.
How do I do it best? Am I on the right track, at least?
Thanks and bye,
Heiner
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list