RE: [xsl] Deciding a parameter name dynamically

Subject: RE: [xsl] Deciding a parameter name dynamically
From: Sundar Shanmugasundaram <SSHANMUGASUNDARAM@xxxxxxxxxxxxx>
Date: Tue, 22 Apr 2003 10:09:28 +0530
Gregory,

May I know in what circumstance do we need this?
Variable is declared in the xsl file and I don't think
there is a need to get the variable name from the xml file.

I would appreciate if you could bring out the practical
necessity of this question.

thanks,
sundar
-----Original Message-----
From: Gregory Propf [mailto:gpropf@xxxxxxxxxx]
Sent: Tuesday, April 22, 2003 7:01 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] Deciding a parameter name dynamically


I would like to know how to refer to the xsl parameter whose name is 
itself given in either another parameter or a node value.  So instead of


$param

we have something like

$[@paramName]

where paramName is an attribute of a node.  Except that the above syntax 
doesn't work.  Anybody know what does?


-- 
"Firing people can give you a pretty good buzz, but it's a poor, poor 
substitute for killing.  I realize that now" - Dale Gribble


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

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


Current Thread