Thx for this Ryan! The thing is that in the file I dpnt see the /r or /n...i just see this as an example:
<postIntro>Geachte minister, Lorem ipsum sig dagelet mi cando si nado. vriendelijke groeten, </postIntro> And in Flash I get all the \r in it an it looks really weird with a lot of space between lines. In dreamweaver I can copy the empty line and replace it with nothing, that fixed it.... I still don't really get it, but it is solved for now! Thx again! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ryanm Sent: Thursday, August 24, 2006 7:48 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] XML question > But I found out I can do a find and replace on the "empty lines" in > Dreamwever so I`m gonna play with that! > If you have access to any decent text editor you should be able to get rid of them. I use UltraEdit for this, because it supports RegExp in the replace dialog. Basically, you just want to replace "\r\n" (or whatever the equivalent is in your text editor) with "\n", and that should fix it. Be aware, though, that you will have to use different expressions for this in different editors. In essence, \r is a hard return and \n is a line feed (or "newline"), and some databases/operating systems/languages/etc insert only a hard return, some insert only a line feed, and some insert both. So in your text editor, find out how to do a find and replace on only the hard return character. In UltraEit, when *not* using RegExp, you can use ^r and ^n as search terms for \r and \n, and you can use ^p ("paragraph break") as a search term for \r\n, and then replace it with ^n (just a newline character). With RegExp enabled in the replace dialog, you can just use the \r and \n, as is usual in RegExp. You might want to look and see if you can find a demo copy of UltraEdit just for this replacement, it's very useful for this sort of thing. I used it to reformat over 120 files all in one swoop with it, which saved me tons of time. ryanm _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com