This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Writing variable HTML using XSL??
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 5 Aug 2002 07:25:29 +0100
- Subject: RE: [xsl] Writing variable HTML using XSL??
- Reply-to: xsl-list at lists dot mulberrytech dot com
> Hi Everyone,
> Is there any way I can modify the attributes to HTML
> tags eg: onClick attribute to the anchor tag by using XSL???
>
Use
<a onClick="{$variable}">
Where $variable can actually be replaced by any XPath expression.
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list