Subject: Re: [xsl] using a parameter as filterexpression element From: Francis Norton <francis@xxxxxxxxxxx> Date: Fri, 01 Jun 2001 12:17:54 +0100 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] using a parameter as filt, Michael Kay | Thread | RE: [xsl] Links XML/XSL, Michael Kay |
RE: [xsl] Efficiency of xsl:number , Michael Kay | Date | [xsl] Process XHTML embedded in XML, Laurent Vaills |
Month |