Sign in to follow this  
Rahul Kumar

xsl transform of ampersand breaks caption and currency display

Recommended Posts

i need to display currency symbols in a chart's caption. currency symbols in axis value labels aren't really that good looking... a lot of wasted space.




i have a setup where i'm transforming and writing out an xml file that is referenced by the fusion chart in an html page.






works for the numberPrefix, but does not work when used in the caption text. i tried using the html code for it, {&}{#}163;, and that works when hardcoded.




however, when i'm processing the xml data with xsl and doing the transform, the parser needs to translate the "&" into &. This then breaks the processing of the symbol reference as it doesn't know how to parse the &. i.e. get a "Text for Caption ( {&}amp;{#}136; )".




Has anyone encountered this?




thanks in advance. hopefully i've provided enough info.



Edited by Guest

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this