Writing XML data

by Ludwig » Sat, 20 Sep 2008 01:26:53 GMT


Sponsored Links
 I need to write a file in XML format. There are a couple of parsers
available, but I cannot find anything useful for writing XML.

The task is a long-running process, so creating a DOM, then writing it
at the end would be waste of space, I need a stream-based writer that
adds lines of XML to the document before closing all open elements
when the application exits.

Of course I can do this with simple write statements, but I want to
ensure that I will be creating valid XML.

Any hints?

Ludwig

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Is adb opened on android products?

Dear all

Is ADB opened on Android Products?
any details from HTC series, Moto Droid/CLIQ, Sumsung, LG etc.?

Also, from Google's perspective,  what is your recommendation to phone
manufacturers?

Thanks!

-- 

2. why Auto Redial option is not there in Android?

Hi,

Could somebody explain me why Auto Redial option is not there in Android?

If the option is there, then how to work with redial in android.

Thanks in advance.

Regards
Pushkar Setty

-- 

3. Touch or Click event...with a listView containing a gridView

4. API expansion

5. How to open multiple windows?

6. GraphicsActivity Problem

7. how to do call interception