0

我需要在 xml 解析器中阅读 pragraph,但 saxparser 正在删除运营商返回和换行符。那么我应该如何保留这些空格。

<Res attr ="mobileDevices"><dev><name>Sasdsd</name><url>http://xxxxx/Samsdsdsdsdung-Galaxy-Grand.png</url>
<desc> GALAXY Grand is outfitted with a deluxe large display to meet your needs. Everything from larger font size to immersive viewing, brilliant visuals are 

guaranteed.Enjoy exclusive viewing experience while on the go.
</desc>
</dev>
</Res>
4

0 回答 0