Well, if you just use quotes properly, that is ;)

'<?xml version="1.0" encoding="utf-8"?>';


On Wed, Apr 2, 2008 at 7:45 PM, Wagner Amaral <[EMAIL PROTECTED]> wrote:

> You can set the xmlDecl property:
>
> AS3:
> XMLDocument().xmlDecl = "<?xml version="1.0" encoding="utf-8"?>";
>
> AS2:
> XML().xmlDecl = "<?xml version="1.0" encoding="utf-8"?>";
>
>
>
>
> On Wed, Apr 2, 2008 at 7:06 PM, Patrick Matte | BLITZ <
> [EMAIL PROTECTED]> 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

Reply via email to