Khushi

Members
  • Content count

    4
  • Joined

  • Last visited

Everything posted by Khushi

  1. problem in XML % character

    Hi, I have got an problem while using setDataXML method in which input string contain '%' but when i put the same string in xml and used setDataURL method the Fusionmap worked fine. But in my application I have xml string not xml file , so can you please help me regarding this? the code i have used is: var map = new FusionMaps("Maps/FCMap_World.swf", "Map1Id", "750", "460", "0", "0"); map.setDataXML("<map imageSave='1' imageSaveURL='FusionChartsSave.jsp?name=image_world1.jpg' borderColor='005879' fillColor='D7F4FF' numberSuffix='%' includeValueInLabels='1' labelSepChar=': ' baseFontSize='9'><data> <entity id='NA' value='515' /><entity id='SA' value='373' /><entity id='AS' value='3875' /><entity id='EU' value='727' /><entity id='AF' value='885' /><entity id='AU' value='32' /></data></map>"); map.render("mapdiv");
  2. problem in XML % character

    ya i know that but in that why it work fine in XML file? and I am facing same problem while putting %26 for '&' so in this case what can I do?