Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - RE: Problem with xsl in sharepoint >Thread Next - Re: Problem with xsl in sharepoint RE: Problem with xsl in sharepointTo: NULL Date: 1/3/2007 5:45:00 AM
Hi,
Thank you, but this still doesn't work.
We have also tried something similar as well, but neither of them work. :-(
<a>
<xsl:attribute name="href">
<xsl:value-of select="link"/>
</xsl:attribute>
<xsl:attribute name="title">
<xsl:value-of select="description" disable-output-escaping="yes" />
</xsl:attribute>
<xsl:attribute name="target">
<xsl:value-of select="'_blank'"/>
</xsl:attribute>
<xsl:value-of select="title" disable-output-escaping="yes" />
</a>
If I move the description item out from the <a> tag, then the escaping is
working as expected, but while it is the value of an attribute of <a>, it
seems to be re-encoded again.
I am using a pound £ symbol which is being encoded as (ampersand)#163; The
yellow tooltip that pops up is displaying the description. I need the £ to
come through instead of #163.
Are there any other options open to me?
Thanks.
Regards,
Dave Colliver.
http://www.BrightonFOCUS.com
~~
http://www.FOCUSPortals.com - Portal franchises available
"ML" wrote:
> Try this (create attributes using xslt):
>
> ...
>
> <a>
> <xsl:attribute name="href">
> <xsl:value-of select="link"/>
> </xsl:attribute>
> <xsl:attribute name="title">
> <xsl:value-of select="description"/>
> </xsl:attribute>
> <xsl:attribute name="target">
> <xsl:value-of select="'_blank'"/>
> </xsl:attribute>
> <xsl:value-of select="title" disable-output-escaping="yes" />
> </a>
>
> ...
>
>
> ML
>
> ---
> http://milambda.blogspot.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
