No that didn't work, I got a weird error like wrong startendtag or something.
BLITZ | Patrick Matte - 310-551-0200 x214 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Wednesday, April 02, 2008 3:36 PM To: Flash Coders List Subject: Re: [Flashcoders] AIR - Insert header in XML file Can't you inject that into your xml string? myXml = "<?xml version="1.0" encoding="UTF-8"?>" + myXml; Patrick Matte | BLITZ wrote: > I'm saving an xml file with AIR, it works but how can I add <?xml > version="1.0" encoding="UTF-8"?> at the top of the file? > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders