So how to test for the occurence of @submitid
anywhere within my exclude source.
= when used with a node set like
$excludes/ID is true if any of the nodes is equal to whatever you are
testing.
But if your variable is defined as in the first post you want
$excludes/EXCLUDE/ID
not
$excludes/ID
as you don't have any ID elements at the top level of the variable.
<xsl:variable name="curID"><xsl:value-of
select="@submitid"/></xsl:variable>
grr as in a message of a minute ago, dont do that do this
<xsl:variable name="curID"
select="@submitid"/>
it's less to type and a lot less work for your processor.
(athough of course in this case you don't need a variable at all
not($excludes/ID=(_at_)submitid)
should work fine.)
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
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list