i Have XML file called des.xml,I wanted to Write it in to Text file I the Orginal File Formate like Tree Structure,I tried To Read In to Text file but it is printing in the Single Line. Please Spend Yor Time && Reply this
So there is nothing in the XML standard to dictate that you should render it with line breaks and tabs. Which means this is a question about how to add linebreaks to a file, and that is not an advanced question. Moving...
This place is so cool. The first hit on Google for "java xml pretty print" is the Ranch FAQ Section.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
WARNING! Do not activate jet boots indoors or you will see a tiny ad:
a bit of art, as a gift, the permaculture playing cards