Re: [xsl] &amp

Subject: Re: [xsl] &amp
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Fri, 07 Feb 2003 18:50:26 +0200
Tamorri Claudio wrote:
I have a simple question (but not for me...):
I'm adding <xsl:element name='image'> in xsl file.
I want insert in the attribute:
<xsl:attribute name='xlink:href'>
a value like http://myserver/app?prm1=val1&prm2=val2.
I don't understand how is possible to supply the character
to the attribute: i have tried with "&amp;" but don't work!!!

Don't see any problem here.

<xsl:element name='image'>
<xsl:attribute name='xlink:href'>http://myserver/app?prm1=val1&amp;prm2=val2</xsl:attribute>

Or shorter

<image xlink:href="http://myserver/app?prm1=val1&amp;prm2=val2"/>

Oleg Tkachenko
Multiconn Technologies, Israel

XSL-List info and archive:

Current Thread