xsl-list
[Top] [All Lists]

Re: genarate key using a variable

2003-09-01 14:05:29

<aruniima(_dot_)chakrabarti(_at_)iflexsolutions(_dot_)com> wrote in message
news:CBF6DBC01C62C64DA820DCFCD48E05C802CFD0EB(_at_)fmg-nt(_dot_)spz(_dot_)i-flex(_dot_)com(_dot_)(_dot_)(_dot_)
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



<Prev in Thread] Current Thread [Next in Thread>