xsl-list
[Top] [All Lists]

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

2003-11-17 05:39:03

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[(_at_)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