[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Re: using a parameter as filterexpression element


Subject: [xsl] Re: using a parameter as filterexpression element
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Fri, 1 Jun 2001 04:03:33 -0700 (PDT)

>     <xsl:variable name="selection_all" select="//header[[local-name() =
> $TheElement] = $current_user]"/>


Most probably you want the following:


     <xsl:variable name="selection_all" 
      select="//header[*[name() =$someElementName] = $someValue]"/>




Cheers,
Dimitre Novatchev.


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread