Remove the XML header from an XML in Java

后端 未结 0 495
挽巷
挽巷 2021-02-11 18:56
StringWriter  writer = new StringWriter();
XmlSerializer serializer = new KXmlSerializer();
serializer.setOutput(writer);
serializer.startDocument(null, null);
serialize         


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