Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: Problem with xsl in sharepoint

From: DavidColliver@-----------.---------.---
To: 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/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent