Re: [xsl] complex expression on template match using not and contains in XP ath

Subject: Re: [xsl] complex expression on template match using not and contains in XP ath
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 3 Dec 2003 17:19:33 GMT
> *[[

a predicate in [  ] always has to filter some node set, you can't have
it at the start of another predicate (I'm not sure what you would want
it to mean in thatcase) so [[ is never legal in xpath.

> Date

that is the string value of the element Date, not the string "Date"

you probably want

<xsl:template match="*[not(contains(name(), 'Date'))]/*/option">


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