Try using new XML('your string'); or send the details of error.
-Ravi On Jul 2, 6:31 pm, itonflex team <itonflext...@gmail.com> wrote: > Hi friends i have a requirement that, i have datagrid and charts. > Based on the datagrid click i got some values and passed them to a > string like > . > [Bindable] > public var genStr:String; > []Bindable] > var chartlist:xmllist; > genStr+= "<results servname="+dg.dataprovider[...@servname+">"; > genStr+= "<"+objDGC.headerText > +">"+dg.dataProvider[j].children()[i]+"</"+objDGC.headerText+">"; > genStr+= "</results>"; > > now i got some output. My requirement is now i need to convert the > string to xml > so i did > > chartslist= new xmllist(genStr). > > but its giving some error > i need to give this xmllist to charts dataprovider. > could u please help me regarding this ! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---