xsl-list
[Top] [All Lists]

RE: Deciding a parameter name dynamically

2003-04-22 06:27:21
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.  

You can't. XSLT isn't that kind of [reflexive, introspective] language.

Probably instead of passing three parameters called X, Y, and Z, you
need to pass one parameter that's a tree with X, Y, and Z subelements.
Then you can access the elements of the tree using path expressions.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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



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