Re: [xsl] 'xsl:variable' as dynamic select for 'xsl:for-each'...

Subject: Re: [xsl] 'xsl:variable' as dynamic select for 'xsl:for-each'...
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 17 Nov 2003 12:39:03 GMT
Why do you need a variable at all?

 <xsl:for-each select="//client[not($clientid) or @id=$clientid]"/>

is probably all you need (guessing that you meant client[@id=$clientid]
when you wrote client[$clientid] )

David

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