and I need to select all the <a> elements between <a name='Title'> and
the first <b> element.
if that's all you need (rather than each group of a's, you can just do
select="b[1]/preceding-sibling::a"
no need for keys or generate-id
David
________________________________________________________________________
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
________________________________________________________________________