Archive for category xml

How to Write formatted xml in Java

To write a formatted xml in java you have to set some properties of Transformer Above settings instruct Transformer to spit a formatted xml. See complete example below Output: Advertisements

, , , ,

1 Comment