XML and CSV differences

I’ve been seraching and have found documents talking about using xml or CSV. I know how to load and use the data from each of the different file types. Thank you all for the tutorials:D

However, are there any advantages to using one or the other? Or are they basically the same in functionality with Flash MX 2004? When would using XML be better than CVS and vice versa? Is one slower? Basically I guess I am asking for an expert comparison of the two file types.

Thank you for the information.