I'm guessing that the problem is with the second half of my 'if'
statement,
see, you answered you own question:-)
stay using nodes until the last step, don't use string functions from
too far up the path:
not
<xsl:if test="activation/@ref=$context_id or
starts-with($context_id, activation/@start)">
this
<xsl:if test="activation[(_at_)ref=$context_id or
starts-with($context_id, @start)]">
--
http://www.dcarlisle.demon.co.uk/matthew
________________________________________________________________________
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
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list