Object serializer?

I am writing a desktop app with flash and zinc. I need a way to serialize objects and save to an xml file… anyone know of any solutions?