|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: using a parameter as filterexpression element
Mattias Konradsson wrote: > > so, is it possible to pass both the element and the element value in a > filter? > Try this - <xsl:variable name="selection_all" select="//header/*[local-name() = $TheElement][. = $current_user]"/> (you could use a single predicate joining the two conditions with an "and" expression instead - this two-predicate form might be *slightly* more efficient) Francis. 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








