I want to open PDF attachment via email in my own application: I refer two link here:
How do I associate file types with an iPhone application?
and here on Raywe
If you want to view it as XML, just find the plist file and open it with your favorite editor. Something like TextWrangler. And then add your key-value pairs.