I am trying to use out writer in Java to create a XML file, but the generated XML File is in one line, which is very difficult to read and debug. I tried using backward-slash-n but the reader which I am using does not recognizes backward-slash-n so I need some alternative to break or backward-slash-n to add a line break to make it more readable and debug easily.
What should i do?
And also in notepad is there a way to add linebreaks using replace keyword for e.g., Search for > and replace with > + {Enter Key} i.e., line-break after every tag
out.write("" + contractRestCount + " ");
out.write("" + circleName.substring(0, 4)
+ " ");
– D3X Feb 07 '14 at 08:41" + contractRestCount + "
"); out.write("