[xsl] Re: genarate key using a variable

Subject: [xsl] Re: genarate key using a variable
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Mon, 1 Sep 2003 23:05:29 +0200
<aruniima.chakrabarti@xxxxxxxxxxxxxxxxxx> wrote in message
news:CBF6DBC01C62C64DA820DCFCD48E05C802CFD0EB@xxxxxxxxxxxxxxxxxxxxxxxx
> Hi All,
> Is it possible to generate a xsl:key using a variable ?
> As in  xsl:key element it does not allow me to use a variable in either
match or use attribute. So is there any other way to do the same...
>
> e.g.
> I want to search for all Rows with attribute say "@Deposit = 1"
> where I receive both the attribute & the attribute value as parameters
from the user.

One solution is to modify a skeleton-stylesheet by creating/modifying the
necessary xsl:key nodes before starting the transformation.


=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL




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


Current Thread