This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
dynamic attribute name
- From: "Alex Reuter" <xslalex at hotmail dot com>
- To: XSL-List at lists dot mulberrytech dot com
- Date: Mon, 24 Jun 2002 16:03:49 +0000
- Subject: [xsl] dynamic attribute name
- Reply-to: xsl-list at lists dot mulberrytech dot com
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