Java DOM parser - keep xml document formatting after modification

后端 未结 0 562
心在旅途
心在旅途 2021-01-26 06:28

I\'ve faced an issue with DOM paser in Java.

I have pretty formatted xml file. I open it by `javax.xml.parsers.DocumentBuilder#parse(file) and add a new Node under an exi

相关标签:
回答
  • 消灭零回复
提交回复
热议问题