I lost or forgot the start of this thread so I'll ignore your main
questions but I can answer one of the questions in comments
<!-- How do I only match text in 'head' and 'l' elements rather than
all text? -->
match="head/text()|l/text()"
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________