Flex, xml and attributes

[whisper]Ive just started using flex… so sorry if this is a complete noob question thats really easy to fix, but its really annoying and I can’t seem to be able to fix it… [/whisper]

Basicly I’m trying to create a simple XML editing app in flex, which I did which is easy and fine. The problem is that whenever I send the edited XML to the php file so it can be written, it always puts a “” before "'s.

So this:

<root something="hello"/>

Would change to:

<root something=\"hello\">

If I view the edited XML before it gets sent to the php file its all fine, its only when I open the resulted XML file that I see the problem.

Il post the code if needed. Do you think its to do with invalid characters or something?