[xsl] dynamic attribute name

Subject: [xsl] dynamic attribute name
From: "Alex Reuter" <xslalex@xxxxxxxxxxx>
Date: Mon, 24 Jun 2002 16:03:49 +0000
Hello List,
Is there anyway to dynamically create an attribute's name, as well as its value?


For example, we are trying to dynamically create a javascript reference inside the html we are outputting.

<select><xsl:attribute name=$variable><xsl:value-of select="javascript/@function"></select>

In the above snippet $variable is populated with the proper value before hand, but of course it doesn't work.

Does anyone know if this type of thing is possible, and if so, how it might be accomplished?


Thanks, Alex

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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



Current Thread