android XML转义字符

XML转义字符
以下为XML标志符的数字和字符串转义符
"     (" 或 ")
'     (' 或 ')
&     (& 或 &)
lt(<) (&#60; 或 &lt;)
gt(>) (&#62; 或 &gt;)

下面的字符在 [XML]中被定义为 空白(whitespace)字符:
空格 (&#x0020;)
Tab (&#x0009;)
回车 (&#x000D;)
换行 (&#x000A;) www.2cto.com

收藏下,写xml string的时候可能会用到

转载于:https://my.oschina.net/lendylongli/blog/226807

猜你喜欢

转载自blog.csdn.net/weixin_34148456/article/details/92576581