|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Insert a node into an attribute...
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








