sivatech001 Report post Posted December 12, 2008 Hi, <chart yAxisMinValue="0" yAxisMaxValue="100" formatNumber="0" bgColor='f7f2f7,f7f2f7' bgalpha='100,100' formatNumberScale="0" numDivLines="3" legendBorderAlpha="0" borderColor="f7f2f7" borderThickness="1" showBorder="1" useRoundEdges="1" showvalues="0" numberSuffix = '%' shownames="1" palette="5" plotSpacePercent='50' labelDisplay='Rotate' slantLabels='1' setAdaptiveYMin='20'> <categories> #set($count = 0) #foreach( $lunchmeals in $lunchmeal) <category name = '$lunchmeals' toolText='$lunchmealname.get($count)' color='8BBA00'/> #set($count=$count+1) #end </categories> <dataset color='8BBA00' showValues ='1'> #foreach( $lunchcalories in $lunchcalorie) <set value = '$!lunchcalories' /> #set ($lunchcalories='0') #end </dataset> </chart> The above mentioned red color text contain dynamic values comes from database. In that case if the values get name with sigle quote (eg : apple's) then it showing Invalid XML data error. How to rectify this. Thanks, Siva. Share this post Link to post Share on other sites
Arindam Report post Posted December 12, 2008 Hi, Could you please replace ' code with ' ? dataURL method apple's dataXML method apple%26apos;s Share this post Link to post Share on other sites