Hi, First of all thanks a lot for the above posts because finally i found some information about the problem i am facing.
I am not still not clear with the CDATA issue. Here is what i want to do : I am a big xml file, which i read from the client and i manipulate it a little. On the client i need to remove the white spaces. now i to save the xml file so i send it back to the server. Now i would like my xml to be indented, can you please suggest how to do so? On Aug 8, 9:31 pm, Christian Goudreau <[email protected]> wrote: > Simply retreive tag element insteant of tags element and do a for on > elements ? replacing item(0) by item(i) > > Christian > > On Sat, Aug 8, 2009 at 1:29 PM, Nickelnext <[email protected]> wrote: > > > Using the previous example, i mean that i would render that string in > > this way in a Label or HTML widget. > > > <tags> > > <tag>content</tag> > > <tag>more content</tag> > > </tags> > > > but i tried using String.replace (like : string.replace("><", ">\n<") > > or string.replace("><", "><br />")) method using both the special > > chars "\n" and "<br /"> (using html widget) but none of them is > > working. Any idea? > > > Thanks > > > Nickelnext --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
