|
Subject: RE: [xsl] Insert a node into an attribute... From: Jarno.Elovirta@xxxxxxxxx Date: Wed, 16 Oct 2002 09:47:24 +0300 |
Hi,
> I want insert into attribute of a node another node but
> the xsl don't allow this operation....
> I have this code:
>
> <A onmouseout="doTip(event,0,' ')" href="javascript:void(0)">
> <xsl:attribute name="onmouseover">doTi
> (event,1,<b>'{@tooltip}'<b>)</xsl:attribute>
> <xsl:value-of select="."/>
> </A>
>
I take it you want
<A onmouseout="doTip(event,0,' ')" href="javascript:void(0)">
<xsl:attribute name="onmouseover">doTi(event,1,<b>'<xsl:value-of select="@tooltip" />'<b>)</xsl:attribute>
<xsl:value-of select="."/>
</A>
or using an AVT
<A onmouseout="doTip(event,0,' ')" href="javascript:void(0)" onmouseover="doTi(event,1,<b>'{@tooltip}'<b>)">
<xsl:value-of select="."/>
</A>
Cheers,
Jarno
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Insert a node into an attribu, Mauro Gaddo | Thread | [xsl] Re: Insert a node into an att, Dimitre Novatchev |
| [xsl] Insert a node into an attribu, Mauro Gaddo | Date | [xsl] Re: Insert a node into an att, Dimitre Novatchev |
| Month |