|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Indenting XML using Java
Hi Folks,
I'm developing a Java application that generates XML file. I want the output to be indented how do I go about this. I used transformer.setOutputProperty(OutputKeys.INDENT , "yes") but nothing seems to be happening. I need a sample code please. Thank you. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > Indenting XML using Java |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|