0
我有一个很多物品这样的XML文档:转换节点部分成一条线
<item>
<key>
<unsignedShort>x</unsignedShort>
</key>
<value>
<unsignedShort>y</unsignedShort>
</value>
</item>
<item>
......
现在我想,它的每一部分将是这样的:
<item><key><unsignedShort>x</unsignedShort></key><value><unsignedShort>y</unsignedShort></value></item>
Duplicate question(http://stackoverflow.com/questions/6111712/how-to-remove-carriage-returns-newlines-spaces-from-a-string)。 – skeletank
但我想每一个项目将是透水项目下: .. 我需要以检测项目开始时,它的两端 –