|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Excluding Matches in Template
> 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=@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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








