Sunday, September 26, 2010

[android-developers] write XML Document to File

This should be trivial, but for whatever reason I can't find any easy way to do this.  Coming from C# where this is a 1 line call, I don't understand why Java makes this so complicated, and on top of that android leaves even that out of its libraries.  

Anyway all I want to do is write an 

org.w3c.dom.Document 

that I have populated to a xml file.  It should be as easy as opening a stream and writing document.toString().  But that doesn't work.

My hope is I'm just missing something.  Can some one help me out here?  

thanks

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate