Disable Indent in JAXP when transform XML

后端 未结 0 1646
花落未央
花落未央 2020-12-03 16:05

I am using JAXP to convert DOM tree to XML. I do not want any intends in my result XML. This is my code:

    root.normalize();
    DOMSource domSource = new D         


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