Preserve newlines when parsing xml

后端 未结 2 2093
野趣味
野趣味 2021-01-22 04:18

I\'m using the SAX xml parser to parse some xml data which contains newlines. When using Attributes#getValue, the newline data is lost. How can keep the newlines?

2条回答
提交回复
热议问题