Re: [xsl] Starts-with and navigation bar application

Subject: Re: [xsl] Starts-with and navigation bar application
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 8 Mar 2004 13:02:08 GMT
  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[@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


Current Thread