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:06:38 GMT

  Can I doctor it to only perform the test if the attribute
  'start' actually contains something?

activation[string(@start) and (@ref=$context_id or
starts-with($context_id, @start))]


boolean value of a string is false if the string is empty

-- 
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